[Mono-bugs] [Bug 39300][Min] New - compile time evaluation leads to incorrect code
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Fri, 7 Mar 2003 10:59:32 -0500 (EST)
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 vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=39300
--- shadow/39300 Fri Mar 7 10:59:32 2003
+++ shadow/39300.tmp.29532 Fri Mar 7 10:59:32 2003
@@ -0,0 +1,32 @@
+Bug#: 39300
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vargaz@freemail.hu
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: compile time evaluation leads to incorrect code
+
+mcs miscompiles the following code:
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+using System;
+
+class Bug {
+
+ public static void Main (String[] args) {
+ Console.WriteLine ((new Bug[0]) is Array);
+ }
+}
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<