[swift-evolution] Making capturing semantics of local
howard.lovatt at gmail.com
Thu Oct 26 23:53:55 CDT 2017
It would be easy to provide a fixit. How often are they actually used? I
rarely use them and all my use cases could be a closure instead.
Also see Mike Kluev example; local functions are arguably worse than
closures in all cases (provided that you can appropriately annotate the
On 27 October 2017 at 12:26, Slava Pestov <spestov at apple.com> wrote:
> On Oct 26, 2017, at 4:45 PM, Howard Lovatt via swift-evolution <
> swift-evolution at swift.org> wrote:
> Rather than expand local function syntax why not deprecate local functions
> I don’t think at this point such a drastic change to the language is
> likely to happen.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution