[Mono-devel-list] Generics and reflection bug - patch to icall.c/object.c
Joshua Tauberer
tauberer at for.net
Sun Jun 6 12:55:27 EDT 2004
Paolo Molaro wrote:
> This kind of changes are likely wrong for instantiations of
> generic structs. Could you cook up a few tests for them?
> Maybe also non-generic structs need tests here.
Well, I can't test this with generic structs because I can't even create
a generic struct:
** ERROR **: unknown operator: stobj
I get this when running (on Beta 2):
public class TestClass {
public static void Main() {
new GenericStruct<object>();
}
}
public struct GenericStruct<T> {
}
This is way over my head now. I don't know where stobj is coming from
-- no stobj opcode is in the assembly. The assertion is in inssel.c.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
More information about the Mono-devel-list
mailing list