[Mono-bugs] [Bug 76262][Nor] New - [GMCS] assertion in runtime for
generic method inside generic type
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 28 14:01:40 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 nazgul at omega.pl.
http://bugzilla.ximian.com/show_bug.cgi?id=76262
--- shadow/76262 2005-09-28 14:01:40.000000000 -0400
+++ shadow/76262.tmp.28065 2005-09-28 14:01:40.000000000 -0400
@@ -0,0 +1,63 @@
+Bug#: 76262
+Product: Mono: Runtime
+Version: 1.0
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: nazgul at omega.pl
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Summary: [GMCS] assertion in runtime for generic method inside generic type
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+class Continuation<R,A>
+{
+ public static Continuation<R,A> CallCC <B>(object f) {
+ return null;
+ }
+
+}
+
+class Driver{
+ static Continuation <B,A> myTry<A,B> (object f, A x) {
+
+ return Continuation<B,A>.CallCC <object>(null);
+
+ }
+
+
+ public static void Main() {
+ myTry <int, int>(null, 7);
+ }
+}
+
+
+Actual Results:
+with mono 1.1.9
+** ERROR **: file metadata.c: line 1810
+(mono_metadata_parse_generic_param): assertion failed: (generic_context
+
+with mono svn
+** ERROR **: file metadata.c: line 1879
+(mono_metadata_parse_generic_param): assertion failed: (index <
+generic_container->type_argc)
+
+
+Expected Results:
+clear run
+
+How often does this happen?
+always
+
+Additional Information:
+One of Martin's latest changes caused Nemerle compiler to stop working with
+the same assertion (index < generic_container->type_argc). I guess it might
+be related.
More information about the mono-bugs
mailing list