On Sat, Oct 7, 2017 at 11:24 AM, Xiaodi Wu <[email protected]> wrote:
> This has been brought up on the list before. For instance: > > https://github.com/apple/swift-evolution/pull/608 > > Chris Lattner’s response at that time was: > > ‘Just MHO, but I consider this syntactic sugar, not a fundamental feature > that fits the goal of Swift 4 stage 2. > > ‘I’m also pretty opposed to doing it at any time. The rationale of > “implicit return” in closures is specifically because they are limited to a > single expression, which makes the semantics “obvious”. This was carefully > considered.’ This objection is not applicable, because we are discussing the possibility to omit “return” exactly when there is a single expression in the getter. Nevin
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
