[Mono-bugs] [Bug 76097][Maj] Changed - [GMCS] Type checker ignores generic type parameter constraint

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Oct 19 00:41:22 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 atsushi at ximian.com.

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

--- shadow/76097	2005-10-12 10:34:34.000000000 -0400
+++ shadow/76097.tmp.13145	2005-10-19 00:41:21.000000000 -0400
@@ -64,6 +64,13 @@
 
   public static IEnumerable<int> FromTo(int from, int to) { 
     for (int i=from; i<=to; i++)
       yield return i;
   }
 }
+
+------- Additional Comments From atsushi at ximian.com  2005-10-19 00:41 -------
+This is the output from csc (beta2). Obviously Foo is missing in the
+code above.
+
+76097.cs(15,50): error CS0246: The type or namespace name 'Fun' could
+not be found (are you missing a using directive or an assembly reference?)


More information about the mono-bugs mailing list