Skip to content

[5.5-05142021] [Async Refactoring] Fix crash on recursive AST walk #37724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

hamishknight
Copy link
Contributor

5.5-05142021 cherry-pick of #37715


The async refactoring may perform recursive AST walks in cases such as transforming the body of a hoisted closure. Make sure this can be handled by the logic tracking the ASTWalker in the SourceEntityWalker, such that we don't crash when later converting the call to a completion callback.

rdar://78693050

The async refactoring may perform recursive AST
walks in cases such as transforming the body of
a hoisted closure. Make sure this can be handled
by the logic tracking the ASTWalker in the
SourceEntityWalker, such that we don't crash when
later converting the call to a completion callback.

rdar://78693050
@hamishknight hamishknight requested a review from akyrtzi June 1, 2021 21:46
@hamishknight hamishknight requested a review from a team as a code owner June 1, 2021 21:46
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight merged commit 1a1c215 into swiftlang:release/5.5-05142021 Jun 2, 2021
@hamishknight hamishknight deleted the im-walkin-here-5.5-05142021 branch June 2, 2021 10:21
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.5 labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants