[Mono-bugs] [Bug 81180][Nor] Changed - GMCS does not enforce reference type constraint
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Apr 10 10:21:05 EDT 2007
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=81180
--- shadow/81180 2007-03-18 22:49:26.000000000 -0500
+++ shadow/81180.tmp.5791 2007-04-10 10:21:05.000000000 -0400
@@ -1,17 +1,17 @@
Bug#: 81180
Product: Mono: Compilers
Version: 1.2
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: C#
-AssignedTo: rharinath at novell.com
+AssignedTo: martin at ximian.com
ReportedBy: tim_boetie at fastmail.fm
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: GMCS does not enforce reference type constraint
@@ -47,6 +47,9 @@
"where T : class" should constrain T to be a reference type, which int is
not. Furthermore, TestClass.meth returns null, which one shouldn't be able
to assign to an int.
But, on version 1.2.3.1, it compiles and the resulting executable outputs "0".
+
+------- Additional Comments From martin at ximian.com 2007-04-10 10:21 -------
+-> me
More information about the mono-bugs
mailing list