Skip to content

[AST/Sema] Add @preEnumExtensibility attribute to downgrade warning… #81176

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 3, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Apr 29, 2025

…s for extensible enums

Just like @preconcurrency for concurrency, this attribute is going to allow exhaustiveness error downgrades for enums that were retroactively marked as @extensible.

@xedin
Copy link
Contributor Author

xedin commented Apr 29, 2025

@swift-ci please smoke test

@xedin xedin force-pushed the pre-enum-extensibility branch from 62e2d16 to 58cb075 Compare April 30, 2025 16:48
@xedin
Copy link
Contributor Author

xedin commented Apr 30, 2025

@swift-ci please test

…s for extensible enums

Just like `@preconcurrency` for concurrency, this attribute is going
to allow exhaustiveness error downgrades for enums that were retroactively
marked as `@extensible`.
@xedin xedin force-pushed the pre-enum-extensibility branch from 58cb075 to 498430a Compare May 2, 2025 16:07
@xedin
Copy link
Contributor Author

xedin commented May 2, 2025

@swift-ci please test

@xedin xedin merged commit ff790c6 into swiftlang:main May 3, 2025
5 checks passed
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.

1 participant