This issue has been reported on Rubyforge (bug #20033). <br><br>Can you point me in the general direction of where things would need to change in order to get this to work so I can hack around a bit?<br><br>Cheers,<br>Steve<br>
<br><div class="gmail_quote">On Thu, May 8, 2008 at 9:56 AM, John Lam (IRONRUBY) <<a href="mailto:jflam@microsoft.com">jflam@microsoft.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Steve Eichert:<br>
<div class="Ih2E3d"><br>
> IronRuby seems to be having a problem resolving a generic type when a<br>
> non generic type with the same name exists. The specific example that<br>
> 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>
</div>Yep. Sorry. That's a bug. Can you open a bug please?<br>
<br>
We more or less hacked in whatever 'support' that we needed to get basic generics up and running so that we could do some Silverlight/WPF stuff. It was almost entirely on the side of consuming generic types, and this case didn't come up.<br>
<br>
As for the timeline for fixes around this stuff - it will happen post-RailsConf when we refocus on getting our .NET interop story correct. Right now we have our hands full trying to get the core language up and running.<br>
<br>
Thanks!<br>
-John<br>
_______________________________________________<br>
Ironruby-core mailing list<br>
<a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
</blockquote></div><br>