Skip to content

[CodeCompletion] Maintain LeaveClosureBodiesUnchecked when checking pattern binding #58662

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

Merged
merged 1 commit into from
May 5, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented May 4, 2022

Before, we were dropping LeaveClosureBodiesUnchecked when checking a pattern binding request which caused missing completions inside variables initialized by closures.

rdar://92603748 [#58610]

…attern binding

Before, we were dropping `LeaveClosureBodiesUnchecked` when checking a pattern binding request which caused missing completions inside variables initialized by closures.

rdar://92603748 [swiftlang#58610]
@ahoppen ahoppen requested a review from xedin May 4, 2022 14:09
@ahoppen
Copy link
Member Author

ahoppen commented May 4, 2022

@swift-ci Please smoke test

@ahoppen
Copy link
Member Author

ahoppen commented May 4, 2022

@swift-ci Please SourceKit stress test

@ahoppen
Copy link
Member Author

ahoppen commented May 5, 2022

@swift-ci Please smoke test macOS

@ahoppen ahoppen merged commit 23f39db into swiftlang:main May 5, 2022
ahoppen added a commit to ahoppen/swift-source-compat-suite that referenced this pull request May 5, 2022
- SR-15496, SR-14888 and SR-15499 were fixed by swiftlang/swift#58662
@ahoppen ahoppen deleted the pr/closure-in-pattern-binding branch July 20, 2022 13:22
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.

2 participants