[swift-evolution] [Idea] Wrap switch cases in curly braces

Xiaodi Wu xiaodi.wu at gmail.com
Thu Jul 7 15:45:27 CDT 2016


On Thu, Jul 7, 2016 at 3:41 PM, Roth Michaels via swift-evolution <
swift-evolution at swift.org> wrote:

> On Thu, Jul 07 2016 at 04:33:17 PM, Xiaodi Wu via swift-evolution <
> swift-evolution at swift.org> wrote:
> > Fallthrough ceases to make much sense with braces, and it is a handy
> > feature of switch statements every so often.
> >
> I assume you mean "Fallthrough cases make much 'less' sense with braces"?
>

Haha, more or less, yup.


> --
> Roth Michaels
> roth at rothmichaels.us
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160707/7bd4ff47/attachment.html>


More information about the swift-evolution mailing list