# \[Pitch #2\] Forward scan matching for trailing closures

**URL:** <https://forums.swift.org/t/pitch-2-forward-scan-matching-for-trailing-closures/38491>\
**Category:** Pitches\
**Created:** [July 16, 2020, 7:26am UTC](https://forums.swift.org/t/pitch-2-forward-scan-matching-for-trailing-closures/38491 "2020-07-16T07:26:35Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![anandabits](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/anandabits/32/355_2.png) [@anandabits](https://forums.swift.org/u/anandabits)\
**Post date:** [July 16, 2020, 7:11pm UTC](https://forums.swift.org/t/pitch-2-forward-scan-matching-for-trailing-closures/38491/8 "2020-07-16T19:11:44Z")

</div>

> [@Douglas\_Gregor](#):
>
> My proposal's approach here might be wrong from an evolution standpoint: I'm saying we should commit ourselves to not having the heuristic in Swift 6, but leave space for the discussion of what should replace it. Alternatively, I could state the heuristic as part of the proposal, with future directions arguing that we should replace it with something else. Perhaps that better conveys that we have an acceptable "resting" place after this proposal, and leave it to later proposals to argue for more source breakage in this area.

I think we can agree that this pitch is a better "resting" place than the one we have right now. IIUC, your desire is to get this change in before Swift 5.3 ships, right? I would support that. We can discuss the longer term changes when there is more time.

---

_[View the full topic](https://forums.swift.org/t/pitch-2-forward-scan-matching-for-trailing-closures/38491)._
