[Mono-bugs] [Bug 76840][Wis] Changed - mjs miscompiles do-while that uses ++ operator and assigment as part of condition.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 28 15:55:40 EST 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 cnataren at novell.com.

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

--- shadow/76840	2005-11-28 15:50:26.000000000 -0500
+++ shadow/76840.tmp.8355	2005-11-28 15:55:40.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 76840
 Product: Mono: Compilers
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: JScript
 AssignedTo: cesar at ciencias.unam.mx                            
 ReportedBy: cnataren at novell.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -49,6 +49,17 @@
 How often does this happen? 
 
 
 Additional Information:
 
 Mon Nov 28 14:04:15 CST 2005
+
+------- Additional Comments From cnataren at novell.com  2005-11-28 15:55 -------
+Test case:
+
+var done = false;
+var x = 0;
+do
+{
+    if (x++ == 3) done = true;
+} while (!done);
+


More information about the mono-bugs mailing list