[Mono-bugs] [Bug 75745][Nor] Changed - CS0642 is not reported for semicolon after if statement

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 21 23:25:22 EDT 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 john.luke at gmail.com.

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

--- shadow/75745	2005-08-21 23:21:08.000000000 -0400
+++ shadow/75745.tmp.6911	2005-08-21 23:25:22.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 75745
 Product: Mono: Compilers
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -45,6 +45,13 @@
 test.cs(5,4): warning CS0642: Possible mistaken null statement
 
 ------- Additional Comments From john.luke at gmail.com  2005-08-21 23:21 -------
 Created an attachment (id=15604)
 proposed patch
 
+
+------- Additional Comments From john.luke at gmail.com  2005-08-21 23:25 -------
+The above will catch this and also if the empty statement is in the
+else portion.  It also changes the existing warning to level 3 and
+thus fixes one of mcs known_errors.
+
+Feel free to commit if it is right.


More information about the mono-bugs mailing list