[Mono-bugs] [Bug 33094][Wis] Changed - C# switch statement fails to compile.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
1 Nov 2002 20:59:41 -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 miguel@ximian.com.

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

--- shadow/33094	Fri Nov  1 02:03:24 2002
+++ shadow/33094.tmp.5894	Fri Nov  1 15:59:41 2002
@@ -1,13 +1,13 @@
 Bug#: 33094
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Wishlist
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: david_stephenson@hp.com               
 QAContact: mono-bugs@ximian.com
@@ -127,7 +127,13 @@
 (declarations have to cascade from one switch label to the next, sadly
 a quick fix is not possible, and will require some more work).
 
 Although the puzzling bit is that you are allowed to enter two
 variable declarations without explicit blocks, that sounds like the MS
 compiler is not showing an error that it should report.
+
+
+------- Additional Comments From miguel@ximian.com  2002-11-01 15:59 -------
+Ok this bug is now fixed on CVS, modulo the issue where I believe that
+the Microsoft compiler is actually wrong (ie, we correctly flag the
+redeclaration of the variables).