Skip to content

[6.2] Sema: Fix a regression in retroactive conformance diagnostic suppression#85159

Merged
tshortli merged 1 commit into
swiftlang:release/6.2from
tshortli:suppress-inherited-retroactive-conformance-diags-with-module-qualification-6.2
Oct 28, 2025
Merged

[6.2] Sema: Fix a regression in retroactive conformance diagnostic suppression#85159
tshortli merged 1 commit into
swiftlang:release/6.2from
tshortli:suppress-inherited-retroactive-conformance-diags-with-module-qualification-6.2

Conversation

@tshortli

@tshortli tshortli commented Oct 27, 2025

Copy link
Copy Markdown
Contributor

…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
Copy Markdown
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