Re: [Ironruby-core] Accessing classes that are inherited from generics.

2010-07-28 Thread Tomas Matousek
Is the class internal? From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Kevin Pratt Sent: Wednesday, July 28, 2010 7:35 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Accessing classes that are inherited from generics. I'l

Re: [Ironruby-core] Accessing classes that are inherited from generics.

2010-07-28 Thread Kevin Pratt
C, D[C], D[T], Object, Kernel] > > > > Tomas > > > > *From:* ironruby-core-boun...@rubyforge.org [mailto: > ironruby-core-boun...@rubyforge.org] *On Behalf Of *Charles Strahan > *Sent:* Thursday, July 22, 2010 3:21 PM > *To:* ironruby-core@rubyforge.org > *Su

Re: [Ironruby-core] Accessing classes that are inherited from generics.

2010-07-22 Thread Tomas Matousek
ronruby-core] Accessing classes that are inherited from generics. I haven't tried it out, but perhaps Kevin was referring to this: public class D { } public class C : D { } as opposed to what you tried: public class D { } public class E { } public class C : D { } The distinction being th

Re: [Ironruby-core] Accessing classes that are inherited from generics.

2010-07-22 Thread Charles Strahan
I haven't tried it out, but perhaps Kevin was referring to this: public class D { } public class C : D { } as opposed to what you tried: public class D { } public class E { } public class C : D { } The distinction being that the subclasses type also happens to be the superclass's ty

Re: [Ironruby-core] Accessing classes that are inherited from generics.

2010-07-22 Thread Tomas Matousek
Can you send a small repro of what doesn't work (both C# and Ruby code)? It works for me. test.cs: public class D { } public class E { } public class C : D { } --- >>> require 'test.dll' => true >>> C.new => C Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@ruby