On 16 October 2017 at 01:20, Dave Yost <d...@yost.com> wrote:

> Nuance:
>
> Compiler says:
>     Expression following ‘return’ is treated as an argument of the 'return
> '.
> unless foo() is indented by at least one space. Then there is no
> complaint.
>

to have more fun try this:

<tab-character> return
<tab-character> foo()          // visually no indent, warning

<tab-character> return
<nnnn-spaces> foo()  // no warning. but visually it is the same as above.

where n is the same number of spaces as in your tab-character

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

Reply via email to