[Mono-bugs] [Bug 77395][Min] Changed - GMCS 1.1.13.1 crashes when compiling generics code below

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 2 12:24:03 EST 2006


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 jan.oravec at 6com.sk.

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

--- shadow/77395	2006-02-02 12:08:07.000000000 -0500
+++ shadow/77395.tmp.22788	2006-02-02 12:24:03.000000000 -0500
@@ -100,6 +100,54 @@
 'D<B<int>>' in order to use it as parameter 'X' in the generic type or
 method 'C<X>'
 B.cs(3,11): (Location of symbol related to previous error)
 B.cs(2,7): (Location of symbol related to previous error)
 
 
+
+------- Additional Comments From jan.oravec at 6com.sk  2006-02-02 12:24 -------
+I still think it is major. This bug does trigger also for valid code.
+
+Here is the full code which should be compilable by CSC (didn't try,
+no Windows here...). The code I submitted before is the minimum code
+needed to trigger that bug (to make debugging easier).
+
+class A<X> : C<B<X>,X,X>
+{
+}
+ 
+class B<X> : Q<B<X>,X>
+{
+}
+ 
+interface Q<X,Y> : W<X>
+{
+}
+ 
+interface QQ<X,Y> : Q<X,Y>
+{
+}
+ 
+interface W<X>
+{
+}
+ 
+interface C<X,Y,Z> : D<X,Z>, E<X,Y,Z>
+where X : Q<X,Z>, QQ<X,Z>
+{
+}
+ 
+interface D<X,Y> : F<X,Y>
+where X : Q<X,Y>
+{
+}
+ 
+interface E<X,Y,Z> : F<X,Z>
+where X : Q<X,Z>
+{
+}
+ 
+interface F<X,Y>
+where X : Q<X,Y>
+{
+}
+


More information about the mono-bugs mailing list