[Mono-bugs] [Bug 75296][Wis] New - [GMCS] context from type instead of method is used when parsing generic method invocation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 17 13:28:35 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=75296

--- shadow/75296	2005-06-17 13:28:35.000000000 -0400
+++ shadow/75296.tmp.13799	2005-06-17 13:28:35.000000000 -0400
@@ -0,0 +1,62 @@
+Bug#: 75296
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: mono svn from 17.06.2005
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: nazgul at omega.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] context from type instead of method is used when parsing generic method invocation
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Runtime fails on generic method invocation.
+
+Steps to reproduce the problem:
+1. Compile gmcs t.cs
+
+class C <A> {
+  public static void foo<B> (C<B> x)
+  {
+    D.append (x);
+  }
+}
+
+class D {
+  public static void append<A> (C<A> x)
+  {
+  }
+
+  public static void Main ()
+  {
+    C<object>.foo<int> (null);
+  }
+}
+
+2. run  mono t.exe
+
+Actual Results:
+
+** ERROR **: file metadata.c: line 1812
+(mono_metadata_parse_generic_param): assertion failed: (generic_container
+&& (generic_container->is_method || generic_container->is_signature))
+aborting...
+Aborted
+
+Expected Results:
+clear run
+
+How often does this happen? 
+Always
+
+Additional Information:
+This is the current nemerle bootstrap blocker...


More information about the mono-bugs mailing list