[Mono-bugs] [Bug 74684][Wis] Changed - [GMCS] Unable to define generic field inside generic type through S.R.E

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 30 07:38:22 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by malekith at pld-linux.org.

http://bugzilla.ximian.com/show_bug.cgi?id=74684

--- shadow/74684	2005-05-10 13:22:08.000000000 -0400
+++ shadow/74684.tmp.8158	2005-05-30 07:38:22.000000000 -0400
@@ -112,6 +112,30 @@
 Ok, I would appreciate very much if you give a hint for workaround the
 problem, because it is blocking our compiler. Otherwise I have to go
 into gmcs code and I'm not sure that the final solution is applicable
 for me.
 
 
+
+------- Additional Comments From malekith at pld-linux.org  2005-05-30 07:38 -------
+We have found that the problem is caused by RunAndSave assembly flag.
+This is because of the following code from reflection.c
+
+        if (!((MonoDynamicImage*)klass->image)->run) {
+                if (klass->generic_container) {
+                        /* FIXME: The code below can't handle generic
+classes */
+                        klass->wastypebuilder = TRUE;
+                        mono_loader_unlock ();
+                        return mono_type_get_object
+(mono_object_domain (tb), &klass->byval_arg);
+                }
+        }
+
+So it's clearly a known issue.
+
+It would be nice if this can be fixed, because while this doesn't make
+generic emission in our compiler impossible, it will prevent nemish
+(interactive nemerle interpreter) from working.
+
+I guess this could be also an issue for booi.
+


More information about the mono-bugs mailing list