[Swift-devel] [Bug 85] break statements in switch/case have no effect.
bugzilla-daemon at mcs.anl.gov
bugzilla-daemon at mcs.anl.gov
Fri Jul 27 20:15:05 CDT 2007
http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=85
------- Comment #1 from hategan at mcs.anl.gov 2007-07-27 20:15 -------
I'm thinking that the C behavio(u)r here, we may want to avoid. In fact we
could drop the switch statement altogether. In C it fulfills the important role
of having multiple if tests compiled into (more or less) one indirect jump. In
Swift, it looks more like a liability.
--
Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Swift-devel
mailing list