[Mono-bugs] [Bug 51431][Wis] New - mcs fails when a variable is assigned between a goto statement and label

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 26 Nov 2003 20:51:22 -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 jackson@ximian.com.

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

--- shadow/51431	2003-11-26 20:51:21.000000000 -0500
+++ shadow/51431.tmp.16984	2003-11-26 20:51:21.000000000 -0500
@@ -0,0 +1,45 @@
+Bug#: 51431
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jackson@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs fails when a variable is assigned between a goto statement and label
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+mcs fails to compile code where a variable is assigned between a goto
+statement and label
+
+
+Steps to reproduce the problem:
+1. attempt to compile attached code
+2. 
+3. 
+
+Actual Results:
+goto.cs(12) error CS0159: No such label `leave' in this scope
+Compilation failed: 1 error(s), 0 warnings
+
+This compiles fine with csc.
+
+
+Expected Results:
+
+
+How often does this happen? 
+
+
+Additional Information: