castleproject/Windsor — pull request #18 by rdrawsky (2012-12-07 08:18:13+00:00)
Title:  IOC-373 fix and test: Open Generics won't ever resolve with LateBoundComponent implementation

The problem is that DefaultGenericHandler.GetClosedImplementationType() will call MakeGenericType() on LateBoundComponent... thats not going to work. The fix is to test whether the implementation is a LateBoundComponent and if so return the RequestedType.

Thsi addresses a TODO in the code and includes a test.