Skip to content

Conversation

@tshortli
Copy link
Contributor

@tshortli tshortli commented Apr 8, 2023

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 added 2 commits April 7, 2023 21:23
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 changed the title Sema: Skip storage diagnostic for @exclusivity in swiftinterfaces Sema: Skip storage diagnostic for @exclusivity in swiftinterfaces Apr 8, 2023
@tshortli
Copy link
Contributor Author

tshortli commented Apr 8, 2023

@swift-ci please test

@tshortli tshortli marked this pull request as ready for review April 10, 2023 16:19
@tshortli tshortli requested a review from eeckstein April 10, 2023 16:20
@tshortli tshortli merged commit 8ee6d43 into swiftlang:main Apr 10, 2023
@tshortli tshortli deleted the exclusivity-attribute-in-swiftinterface branch April 10, 2023 22:06
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