IronRuby seems to be having a problem resolving a generic type when a non generic type with the same name exists. The specific example that I discovered the bug with is when trying to using Moq [1].<br><br>describe "some class with a mock" do<br>
it "should use the mock" do<br> mock = Mock.of(IMyMock).new<br> my_class = MyClass.new(mock)<br> // ... test stuff<br> end<br>end<br><br>Moq has a generic and non generic version of the Mock class. When I try and run the code above it tells me that Moq.Mock is not a generic type. After digging through the code a bit it looks like this should be handled my Microsoft.Scripting.Action.TypeGroup. I haven't been able to uncover where IronRuby makes use of this as of yet. Is this a known bug, or should I submit a bug on rubyforge...or am I doing something wrong?<br>
<br>[1] <a href="http://code.google.com/p/moq/">http://code.google.com/p/moq/</a><br><br>Cheers,<br>Steve<br>