[Mono-bugs] [Bug 77299][Nor] Changed - [GMCS] error for simple recursive generic type

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 22 08:15:46 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 martin at ximian.com.

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

--- shadow/77299	2006-01-25 14:39:05.000000000 -0500
+++ shadow/77299.tmp.6983	2006-03-22 08:15:46.000000000 -0500
@@ -49,6 +49,24 @@
 ------- Additional Comments From martin at ximian.com  2006-01-21 09:18 -------
 Miguel, when reassigning bugs to me, could you please also set the
 priority to a reasonable value ?
 
 ------- Additional Comments From miguel at ximian.com  2006-01-25 14:38 -------
 Set to a reasonable value.
+
+------- Additional Comments From martin at ximian.com  2006-03-22 08:15 -------
+First test case:
+
+======
+public interface Foo<T> {
+}
+
+public abstract class FooBase<T> : Foo<T> {
+}
+
+public class RealFoo<E> : FooBase<RealFoo<E>> {
+    public void ItsConvertible() {
+        Foo<RealFoo<E>> f = this;
+    }
+}
+
+=====


More information about the mono-bugs mailing list