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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 28 Sep 2004 05:50:37 -0400 (EDT)


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-09-28 00:29:31.000000000 -0400
+++ shadow/66777.tmp.6666	2004-09-28 05:50:37.000000000 -0400
@@ -51,6 +51,18 @@
 Additional Information:
 
 ------- Additional Comments From miguel@ximian.com  2004-09-28 00:29 -------
 Strange, this seems to be a genuine error.
 
 Why should we not report this as an error?
+
+------- Additional Comments From marek.safar@seznam.cz  2004-09-28 05:50 -------
+Because it conforms to specification.
+
+while-statement:
+while   (   boolean-expression   )   embedded-statement
+
+And ; is empty statement (sort of embedded-statement)
+
+This warning should be reported only when after ';' follows { } block.
+See errors/cs0642-2.cs
+