[Mono-bugs] [Bug 66777][Nor] Changed - wrong CS0642 warning

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 24 Nov 2004 12:26:54 -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 marek.safar@seznam.cz.

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

--- shadow/66777	2004-11-23 13:20:52.000000000 -0500
+++ shadow/66777.tmp.32022	2004-11-24 12:26:54.000000000 -0500
@@ -80,6 +80,17 @@
 
 The situation arises when someone mistakenly leaves the trailing `;'
 after the while condition, and *visually* the code looks fine, but
 in reality `statement()' will be executed *always*.
 
 
+
+------- Additional Comments From marek.safar@seznam.cz  2004-11-24 12:26 -------
+Miguel, look at this
+
+while (condition); { statement (); }
+
+this one and only case where we should report warning for "while".
+Simply ';' is most likely dirty in this code.
+
+but we report this warning also for your code which is wrong.
+