On 16 October 2017 at 01:20, Dave Yost <[email protected]> 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 [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
