[Ironruby-core] Support for generic types of interfaces

Tomas Matousek Tomas.Matousek at microsoft.com
Mon Mar 9 02:17:47 EDT 2009


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-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Stefan Dobrev
Sent: Sunday, March 08, 2009 2:53 PM
To: ironruby-core at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090308/08d84f67/attachment.html>


More information about the Ironruby-core mailing list