Skip to content

Conversation

@tshortli
Copy link
Contributor

@tshortli tshortli commented Oct 27, 2025

…ion.

Module qualifying a protocol name in an inheritance clause should suppress
retroactive conformance diagnostics for the protocol and any protocols it
inherits from, just like adding the `@retroactive` attribute. Fixes a
regression in Swift 6.2 introduced by
swiftlang#81576.

Resolves rdar://162295268 and swiftlang#85153.
@tshortli tshortli requested a review from a team as a code owner October 27, 2025 18:35
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli merged commit 13816fa into swiftlang:release/6.2 Oct 28, 2025
5 checks passed
@tshortli tshortli deleted the suppress-inherited-retroactive-conformance-diags-with-module-qualification-6.2 branch October 28, 2025 03:52
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.

Swift 6.2 emits spurious retroactive conformance warnings that should be suppressed

3 participants