Skip to content
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

[CS] Don't bail out of CollectVarRefs early #38542

Merged
merged 1 commit into from Jul 22, 2021

Conversation

hamishknight
Copy link
Collaborator

Upon encountering an ErrorExpr, we were previously bailing from the walk. However, for multi-statement closures, that could result in us missing some variable references required to connect to the closure to its enclosing context. Make sure to continue walking to catch those cases.

SR-14709
rdar://78781677

Upon encountering an ErrorExpr, we were previously
bailing from the walk. However, for multi-statement
closures, that could result in us missing some
variable references required to connect to the
closure to its enclosing context. Make sure to
continue walking to catch those cases.

SR-14709
rdar://78781677
@hamishknight hamishknight requested a review from xedin July 21, 2021 22:05
@hamishknight
Copy link
Collaborator Author

@swift-ci please test

@apple apple deleted a comment from swift-ci Jul 21, 2021
@apple apple deleted a comment from swift-ci Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants