[swift-evolution] Revisiting SE-0110

Gwendal Roué gwendal.roue at gmail.com
Tue Jun 6 08:54:06 CDT 2017


> Le 6 juin 2017 à 15:30, Vladimir.S <svabox at gmail.com> a écrit :
> 
> I'm just trying to understand your opinion.
> Let me know, what result do you *expect* for this Swift4 code given what SE-0066 requires for function types:
> 
> func foo(x : (Int, Int))->() {}
> 
> print(type(of: foo))  // ??
> print(foo is (_: Int, _: Int)->())  // ??

I couldn't care less.

What I care about: the code regressions introduced by SE-0110 (look at previous messages in this long thread, and the ridiculous state of closures that eat tuples), and the migration bugs (look at Xcode 9 release notes).

Gwendal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170606/6d448ee9/attachment.html>


More information about the swift-evolution mailing list