Skip to content

[5.9] Sema: Skip storage diagnostic for @exclusivity in swiftinterfaces #65041

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

Conversation

tshortli
Copy link
Contributor

Cherry pick of #65023.

Relax the diagnostics for the @exclusivity attribute in order to avoid type checking failures for public private(set) properties in resilient libraries. In a swiftinterface it's not possible to tell reliably whether a property has
storage.

Resolves rdar://107770440

Relax the diagnostics for the `@exclusivity` attribute in order to avoid type
checking failures for `public private(set)` properties in resilient libraries.
In a `swiftinterface` it's not possible to tell reliably whether a property has
storage.

Resolves rdar://107770440
@tshortli tshortli requested a review from a team as a code owner April 10, 2023 16:23
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli merged commit 503dee4 into swiftlang:release/5.9 Apr 10, 2023
@tshortli tshortli deleted the exclusivity-attribute-in-swiftinterface-5.9 branch April 10, 2023 22:06
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants