Skip to content

Conversation

hamishknight
Copy link
Contributor

@hamishknight hamishknight commented Oct 13, 2025

Clients should be able to handle closures without a valid in SourceLoc, let's avoid setting it to a recovery location. This avoids crashing in cases where we set an in loc that's after the closure's end loc, fixing a stress tester regression from #84278.

Clients should be able to handle closures without a valid `in` SourceLoc, let's avoid setting it to a recovery location. This avoids crashing in cases where we set an `in` loc that's after the closure's end loc.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please SourceKit stress test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants