Skip to content

[AST/Sema] SE-0487: Adjust implementation based on the LSG feedback #82807

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 3 commits into from
Jul 8, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jul 4, 2025

Attribute changes:

  • @extensible -> @nonexhaustive
  • @preEnumExtensibility -> @nonexhaustive(warn)
  • Diagnostics are updated to use new names

Misc:

  • Experimental feature flag is renamed to NonexhaustiveAttribute

xedin added 3 commits July 3, 2025 17:50
This is an accepted spelling for the attribute. This commit
also renames the feature flag from `ExtensibleAttribute` to
`NonexhaustiveAttribute` to match the spelling of the attribute.
…n` argument

The spelling `@nonexhaustive(warn)` replaces `@preEnumExtensibility`
attriubte.
@xedin
Copy link
Contributor Author

xedin commented Jul 4, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jul 5, 2025

@swift-ci please clean test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jul 5, 2025

@swift-ci please test macOS platform

2 similar comments
@xedin
Copy link
Contributor Author

xedin commented Jul 7, 2025

@swift-ci please test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jul 7, 2025

@swift-ci please test macOS platform

@xedin xedin merged commit dab6f3d into swiftlang:main Jul 8, 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.

2 participants