Skip to content

Sema: Only diagnose retroactive conformances once #71596

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

Conversation

tshortli
Copy link
Contributor

A type may conform to a single protocol via multiple inheritance clauses on the same extension. When this occurs, we must be careful to only diagnose that conformance as needing @retroactive once, or not at all if one of those clauses is marked @retroactive.

Resolves rdar://121479047

A type may conform to a single protocol via multiple inheritance clauses on the
same extension. When this occurs, we must be careful to only diagnose that
conformance as needing `@retroactive` once, or not at all if one of those
clauses is marked `@retroactive`.

Resolves rdar://121479047
@tshortli tshortli changed the title Sema: Only diagnose retroactive conformances once. Sema: Only diagnose retroactive conformances once Feb 14, 2024
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli merged commit 0f03136 into swiftlang:main Feb 14, 2024
@tshortli tshortli deleted the multiple-clause-retroactive-conformances branch February 14, 2024 05:38
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