Will this finally bring labels back everywhere (closures and stored functions too)? :D.
On Thu, Oct 12, 2017 at 3:03 PM, Jeremy Pereira via swift-evolution < swift-evolution@swift.org> wrote: > > > > > > I’m minorly opposed, because it feels like a slippery slope. What about > function bodies? etc > > > > func foo() -> Int { 3 } // should this be allowed? > > Yes, why not? What is fundamentally different about a function body > compared to a getter body (or a closure body ;-)) that means, if we accept > it for getters, we should not also accept it for function bodies. > > > > _______________________________________________ > swift-evolution mailing list > swift-evolution@swift.org > https://lists.swift.org/mailman/listinfo/swift-evolution >
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution