[Accepted with Modifications] SE-0286: Forward Scan for Trailing Closures

The review of SE-0286 has concluded.

Initial feedback on the review was generally positive on the concept, but several reviewers were troubled by the potential for source incompatibilities. The proposal author investigated options for maintaining compatibility better, and when they seemed to work out, the core team elected to amend the proposal during review. The community then expressed strong support for the revised proposal, and the feeling among reviewers was that there was no need for a second review. The core team discussed this and agreed. Accordingly, the revised proposal is accepted with modifications.

The schedule for this proposal and review was compressed quite a bit in order to try to meet the deadline for Swift 5.3. I'd like to thank the community for its patience and forbearance with this sort of unusual process.

As always, thank you for helping to make Swift a better language.

John McCall
Review Manager

16 Likes

Thanks for your work managing this review, John. I really appreciated your communication throughout the process regarding the time constraints, and your preemptive solicitation of feedback about whether the community felt that foregoing the second review was appropriate. I think we've ended up in a fantastic place for Swift 5.3!

9 Likes

Can we clarify the behavior of trailing closures for parameters of type Any, as per @xwu’s comment here?

Edit:

The response from @Douglas_Gregor here:

does not seem to address what happens with labeled parameters of type Any:

func foo(f: Any) { print(f) }
foo{ return }

• • •

Also, as a forum usability issue, the fact that the proposal thread has been locked makes it very difficult to quote posts from there for the purpose of responding here. It would be nice if there were a way to quote a post from a locked thread, even without being able to post in that thread.

1 Like

The quoting issue has been noted before, but there isn't anything we can do about it.

1 Like