path: root/tests
diff options
authorMarcelo Lira <>2010-10-18 16:37:04 -0300
committerMarcelo Lira <>2010-10-19 17:51:18 -0300
commit20a12c8037e7c44dfac785f8b710682a4af585ca (patch)
tree176144de3c119b7ffb64302015b4b12724b38526 /tests
parenta7aebc0e36f71ef541e3056b334a4e4ab48b3031 (diff)
Updated the overload sorting to handle convertible types inside containers.
The code as it is now will work for containers with wrapped types, and will also consider some primitive types implicitly convertible for dependency sorting purposes. One weakness of the current solution is that it doesn't handle all possible combinations for containers with multiple types. E.g. for Container<T1, T2>, with T1 being implicitly convertible from I1, and T2 from I2, dependency resolution will take into account * Container<T1, T2> * Container<I1, T2> * Container<T1, I2> but not * Container<I1, I2> For the time being every binding is working fine this way, when the need arises we can fix it, for now let us not slow down the generation. Reviewed by Hugo Parente <> Reviewed by Renato Ara├║jo <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions