[swift-evolution] [Pre-proposal] Fix function type grammar

Anton Zhilin antonyzhilin at gmail.com
Thu Jul 7 09:29:18 CDT 2016


>
> > Questions about that proposal are often risen on the list.
> > Some think that we will still be able to supply () argument
> > to () -> T functions.
> >
> > To clear that up completely, I suggest adding this grammar change
> > to SE-0066 or one of the newer proposals. Key idea is that parentheses
> > are part of function type grammar and have nothing common with tuples
> > or unit type.
>
> Sure, that makes sense to me.  Please submit a PR that expands on SE-0066
> when this settles, I don’t think we need another review cycle.  Thank you!
>
> -Chris
>

As SE-0110 is now accepted, you may want to take a look at the pull
request: https://github.com/apple/swift-evolution/pull/415
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160707/bfe01ceb/attachment.html>


More information about the swift-evolution mailing list