[Mono-bugs] [Bug 75584][Nor] Changed - [GMCS] line 1810 (mono_metadata_parse_generic_param): assertion failed: (generic_context)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 13 12:17:51 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 kiess at h3c.de.

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

--- shadow/75584	2005-07-26 12:04:57.000000000 -0400
+++ shadow/75584.tmp.11796	2005-09-13 12:17:51.000000000 -0400
@@ -67,6 +67,25 @@
 How often does this happen? 
 always
 
 Additional Information:
 I'm using mono svn. The program works as expected on ms.net, also
 csc-compiled executable fails, so this seems like a runtime issue.
+
+------- Additional Comments From kiess at h3c.de  2005-09-13 12:17 -------
+A shorter testcase which fails with the same error:
+
+class A<T1> {
+  public void f<T2> () {}
+}
+
+class M {
+  public static void Fun<T>() {
+    //new A<T>(); // with this it will work
+    ((A<T>)null).f<object>();
+  }
+
+  public static void Main() {
+    Fun<object>();
+  }
+}
+


More information about the mono-bugs mailing list