[Ironruby-core] [patch] Fix for RubyModule.LoadNestedTypes
Jb Evain
jb at nurv.fr
Tue Aug 17 14:12:36 EDT 2010
Hey,
In the ClrGenerics3 scenario:
public class ClassWithNestedGenericTypes1 {
public class D {
}
public class C {
public int Id { get { return 0; } }
}
public class C<T> {
public int Id { get { return 1; } }
}
}
IronRuby currently assumes that it will find C before C`1 when
creating the different type groups. The test fails if you simply
invert the two C declarations:
public class ClassWithNestedGenericTypes1 {
public class D {
}
public class C<T> {
public int Id { get { return 1; } }
}
public class C {
public int Id { get { return 0; } }
}
}
Attached is a patch which fixes the updated test pass.
--
Jb Evain <jb at nurv.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LoadNestedTypes.patch
Type: application/octet-stream
Size: 1433 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100817/65017017/attachment.obj>
More information about the Ironruby-core
mailing list