Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
swift4: Fixes for closure arguments #995
There were 2 sets of errors:
Most of the fixes were from fix-its in Xcode
Its due to SE-110 https://github.com/apple/swift-evolution/blob/master/proposals/0110-distingish-single-tuple-arg.md
An unfortunate result of SE-0110 indeed. If it needs to be committed, just a few stylistic points.
It seems like most of those are derived from problems in they way functions in the Swift Standard Library are defined, for example
May 31, 2017
Rebased. I added an extra commit with some tidy ups of the closure arguments although of course these are subject to personal taste more than anything.
@parkera Is this ok for merging now? I noticed most of the SE-110 discussion seems to have ended and any possible changes to the parser will be post swift4 now.
Closing for now, this is not needed as the SE-110 change is going to be backed out. See https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170619/037616.html
If any individual closures still generate warnings after the change a new PR can be opened.