[Mono-bugs] [Bug 80714][Min] Changed - [GMCS] operator == on struct and null causes error
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Feb 14 14:57:47 EST 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 miguel at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80714
--- shadow/80714 2007-02-09 19:41:19.000000000 -0500
+++ shadow/80714.tmp.15276 2007-02-14 14:57:47.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 80714
Product: Mono: Compilers
Version: 1.2
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: NOTABUG
Severity: Unknown
Priority: Minor
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: marek.sieradzki at gmail.com
QAContact: mono-bugs at ximian.com
@@ -36,6 +36,15 @@
Compiled code prints 'false' with CSC 2.0
------- Additional Comments From marek.sieradzki at gmail.com 2007-02-03 13:08 -------
Created an attachment (id=18614)
test case (.cs)
+
+------- Additional Comments From miguel at ximian.com 2007-02-14 14:57 -------
+This seems to be a bug in csc, not a bug in mcs.
+
+CSC 1 reports that error correctly, we went through this recently.
+CSC 2 will basically generate a constant for that compare (as structs
+can never be null) and hide real bugs in your code.
+
+So I would say this is not a bug.
More information about the mono-bugs
mailing list