> On Jul 10, 2016, at 8:36 PM, Taras Zakharko <taras.zakha...@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

-- E

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to