http://d.puremagic.com/issues/show_bug.cgi?id=7835


timon.g...@gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |timon.g...@gmx.ch
         Resolution|                            |INVALID


--- Comment #2 from timon.g...@gmx.ch 2012-04-06 07:38:55 PDT ---
Not a bug. break applies to the innermost statement that can be broken out
from. This includes foreach.

(I use this idiom often. Use labeled break to break from the switch.)

Please reopen as enhancement if you think the code should be illegal.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to