RubyModule should rather implement GetUnderlyingSystemType for interfaces. I 
have the change almost ready (along with other fixes).

Thanks for the patch anyways!
Tomas

From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Stefan Dobrev
Sent: Sunday, March 08, 2009 2:53 PM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] Support for generic types of interfaces

Hi

I have found out that there is a problem if you tried to create a generic type 
of some interface. Here is an example:
>> require 'System'
>> include System
>> include System::Collections::Generic
>> List.of(ICloneable).new

Looking at the stack trace and debugging with VS I was able to implement a 
quick patch that is attached.

Regards,
Stefan
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to