[Mono-bugs] [Bug 23391] New - mono bug with 'count++'

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
13 Apr 2002 01:40:27 -0000


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 manyoso@yahoo.com.

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

--- shadow/23391	Fri Apr 12 21:40:27 2002
+++ shadow/23391.tmp.28349	Fri Apr 12 21:40:27 2002
@@ -0,0 +1,43 @@
+Bug#: 23391
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: manyoso@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono bug with 'count++'
+
+Hello,
+
+First, the code ;-)
+
+using System;
+
+public class CountTest {
+
+        public static void Main(string[] args)
+        {
+                int count;
+                while (count != 10)
+                        Console.WriteLine(count++);
+        }
+}
+
+Second, the problem ;-)
+
+run that with mint and you get the expected output.
+
+run that with mono and output is well.... buggy :-)
+
+Cheers,
+
+Adam