[swift-evolution] Brace syntax

Tino Heth 2th at gmx.de
Sun Dec 20 06:22:36 CST 2015


> var foo: Int 
> {
>     get 
>     { 
>         return _foo
>     }
>     set 
>     {
>         _foo = newValue
>     }
> }
> 
I assume you know that braces don't require an extra line for themselves? ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151220/db52ab2d/attachment.html>


More information about the swift-evolution mailing list