Skip to content

[Sema] Avoid relying on ParenType in a couple of places #77203

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
Oct 26, 2024

Conversation

hamishknight
Copy link
Contributor

Split out a couple of Sema changes from #59141, should be NFC.

Refactor `decomposeDisjuncts` to avoid relying on
the modeling of single unlabeled associated values
as ParenTypes.
Avoid relying on the modeling of single unlabeled
associated values as ParenType, instead check the
case constructor parameters. Also refactor to
early return in more cases.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test Windows

@hamishknight hamishknight merged commit f4bea5f into swiftlang:main Oct 26, 2024
5 checks passed
@hamishknight hamishknight deleted the wrapping-paper-sema branch October 27, 2024 08:39
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