[Mono-bugs] [Bug 671488] goto inside switch can cause incorrect CS0159 errors being reported

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 14 09:52:09 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=671488

https://bugzilla.novell.com/show_bug.cgi?id=671488#c1


Marek Safar <msafar at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|incorrect CS0159 errors     |goto inside switch can
                   |being reported              |cause incorrect CS0159
                   |                            |errors being reported

--- Comment #1 from Marek Safar <msafar at novell.com> 2011-02-14 14:52:08 UTC ---
Note to myself: Another problem cause be duplicate compiler generated implicit
block

I'll postpone the fix as it requires deeper changes but you can easily
workaround it by changing 

goto gotoTarget;

TO

goto case 1;

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list