Skip to content

[Sema] Requestify PatternBindingDecl capture computation #80535

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 2 commits into from
Apr 7, 2025

Conversation

hamishknight
Copy link
Contributor

Introduce PatternBindingCaptureInfoRequest, and kick it after contextualizing a property initializer. This ensures it gets run for stored properties added by macro expansions.

rdar://143429551

Introduce `PatternBindingCaptureInfoRequest`, and kick it after
contextualizing a property initializer. This ensures it gets run
for stored properties added by macro expansions.

rdar://143429551
The initializer for a lazy property is always subsumed, so we should
have already bailed.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test source compatibility

@hamishknight hamishknight merged commit cc23c25 into swiftlang:main Apr 7, 2025
7 checks passed
@hamishknight hamishknight deleted the cap-req branch April 7, 2025 16:28
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