[Ironruby-core] generic and non generic type with the same name

Steve Eichert steve.eichert at gmail.com
Thu May 8 10:51:56 EDT 2008

This issue has been reported on Rubyforge (bug #20033).

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?


On Thu, May 8, 2008 at 9:56 AM, John Lam (IRONRUBY) <jflam at microsoft.com>

> Steve Eichert:
> > 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].
> >
> > describe "some class with a mock" do
> >   it "should use the mock" do
> >     mock = Mock.of(IMyMock).new
> >     my_class = MyClass.new(mock)
> >     // ... test stuff
> >   end
> > end
> Yep. Sorry. That's a bug. Can you open a bug please?
> 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.
> 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.
> Thanks!
> -John
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080508/862d8b92/attachment.html>

More information about the Ironruby-core mailing list