My favorites | Sign in
Project Home Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 2: Can't resolve multiple open generic types
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Closed:  May 2010

Sign in to add a comment
Reported by, May 11, 2010
What steps will reproduce the problem?
1. Add public class TestTypeRepository : IRepository<TestType> {}
2. Add a test to resolve the TestTypeRepository in addition to the 
3. Run the tests.

What is the expected output? What do you see instead?
I expect I could resolve a repository of any type using the given type; 
instead, the first registered type (alphabetically) is resolved and tries 
to be cast to the correct type, which fails.

What version of the product are you using? On what operating system?
Using trunk as of 5/11/2010 on Windows 7.

Please provide any additional information below.

May 11, 2010
I found the problem, added some tests and created a patch (attached).
4.7 KB   View   Download
May 18, 2010
Project Member #2
This issue has been resolved.  Thanks for submitting a patch!
Status: Done
Owner: dbgreer
Sign in to add a comment

Powered by Google Project Hosting