[swift-evolution] Required Callback
James Campbell
james at supmenow.com
Tue Aug 16 17:39:11 CDT 2016
I'm not sure about that last question, I guess someone who knows more
about it than me could answer.
*___________________________________*
*James⎥Lead Hustler*
*james at supmenow.com <james at supmenow.com>⎥supmenow.com <http://supmenow.com>*
*Sup*
*Runway East *
*10 Finsbury Square*
*London*
* EC2A 1AF *
On 16 August 2016 at 23:37, James Campbell <james at supmenow.com> wrote:
> @noescape is a hint that the callback will only be called once and allows
> compiler to optimise, we may or may not be able to combine @required
> functionality into that but it looks like it was rejected for now.
>
> @required is a compiler hint / sanity check to enforce that the callback
> is actually called once by the developer. There is no focus on any compiler
> enhancements other than that.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160816/15f2caff/attachment.html>
More information about the swift-evolution
mailing list