[Mono-bugs] [Bug 75584][Wis] New - line 1810
(mono_metadata_parse_generic_param): assertion failed:
(generic_context)
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jul 19 09:46:58 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=75584
--- shadow/75584 2005-07-19 09:46:58.000000000 -0400
+++ shadow/75584.tmp.26704 2005-07-19 09:46:58.000000000 -0400
@@ -0,0 +1,72 @@
+Bug#: 75584
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details: amd64 pld linux
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: malekith at pld-linux.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: line 1810 (mono_metadata_parse_generic_param): assertion failed: (generic_context)
+
+Description of Problem:
+
+I was trying to reproduce a problem I have with Nemerle compiled code.
+While rewriting it in C# another issue occured, which seems to be related.
+
+
+Steps to reproduce the problem:
+1. Compile the following program with gmcs
+class C<X,Y> {
+ class Q<A,B> {
+ public void apply (C<X,Y> t)
+ {
+ t.bar<A,B>();
+ }
+ }
+
+ public void foo<A,B> ()
+ {
+ Q<A,B> q = new Q<A,B>();
+ q.apply(this);
+ }
+
+ public void bar<A,B> ()
+ {
+ System.Console.WriteLine ("'{0} {1} {2} {3}'",
+typeof(X),typeof(Y),typeof(A),typeof(B));
+ }
+}
+
+class X {
+ public static void Main () {
+ C<int,string> c = new C<int,string>();
+ c.foo<float,string> ();
+ }
+}
+
+2. run it
+
+Actual Results:
+** ERROR **: file metadata.c: line 1810
+(mono_metadata_parse_generic_param): assertion failed: (generic_context)
+aborting...
+zsh: 28350 abort ~/mono-svn/bin/mono foo.exe
+
+
+Expected Results:
+'System.Int32 System.String System.Single System.String'
+
+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.
More information about the mono-bugs
mailing list