[Mono-bugs] [Bug 75825][Min] New - Executing program using generics fails with '** ERROR **: implement type compare for 0!'

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 16 10:23:15 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=75825

--- shadow/75825	2005-08-16 10:23:15.000000000 -0400
+++ shadow/75825.tmp.28438	2005-08-16 10:23:15.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 75825
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: Debian Sarge
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: JIT
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: kiess at h3c.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Executing program using generics fails with '** ERROR **: implement type compare for 0!'
+
+Description of Problem:
+Executing program using generics fails with '** ERROR **: implement type
+compare for 0!'
+
+
+class A<a> {}
+
+class B<a> : A<a> {}
+
+class C:B<C> {}
+
+class M {
+  static void Main() {
+    C c;
+  }
+}
+
+
+Steps to reproduce the problem:
+1. gmcs test.cs
+2. mono test.exe
+
+Actual Results:
+
+** ERROR **: implement type compare for 0!
+aborting...
+
+
+Expected Results:
+The program should run without errors.
+
+How often does this happen? 
+always
+
+Additional Information:
+I'm using Mono svn r48422.


More information about the mono-bugs mailing list