[swift-evolution] [Pitch] Introduce continue to switch statements
erica at ericasadun.com
Sun Jul 10 22:46:07 CDT 2016
> On Jul 10, 2016, at 8:36 PM, Taras Zakharko <taras.zakharko at uzh.ch> wrote:
> There is possible impact on existing code: a switch statement inside a loop, that contains a continue.
> — Taras
A switch statement within a loop may be broken by the introduction of `continue` semantics. To fix, the loop must be labeled and the `continue` must use that label to differentiate between switch continuation and loop continuation.
Updated gist: https://gist.github.com/erica/04835de3d3d9121ef7308dd9b093158a
More information about the swift-evolution