Sent from my iPad

> On Dec 21, 2015, at 6:44 PM, Chris Lattner <[email protected]> wrote:
> 
> 
>>> On Dec 20, 2015, at 8:14 AM, ilya via swift-evolution 
>>> <[email protected]> wrote:
>>> 
>>> If we don’t change the default maybe we should at least add a warning when 
>>> you *could* add @noescape but didn’t.  A lot of folks are likely to leave 
>>> it off when they should really be adding it.
>> 
>> I like this idea. We have a warning for variables that can be made into let, 
>> so why not this?
> 
> An opt-in -Woptimization sort of warning (or static analyzer like feature) 
> would be great for suggesting performance hints like this.

So this turned out to be a bad idea, but at least it turned up a good one 
during discussion! :)   I would love -Woptimization.

> 
> -Chris
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to