Skip to content

[Concurrency] Don't warn about re-stating inherited unavailable conformances to Sendable. #75359

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
merged 1 commit into from
Jul 19, 2024

Conversation

hborla
Copy link
Member

@hborla hborla commented Jul 19, 2024

The unavailability check was not using the root conformance, which is where the extension declaration with the unavailability attribute is for inherited conformances, leading to bogus warnings about re-stating unchecked conformances to Sendable.

Resolves: rdar://132059160

…rmances

to `Sendable`.

The unavailability check was not using the root conformance, which is where
the extension declaration with the unavailability attribute is for inherited
conformances, leading to bogus warnings about re-stating unchecked conformances
to `Sendable`.
@hborla
Copy link
Member Author

hborla commented Jul 19, 2024

@swift-ci please smoke test

@hborla hborla merged commit 22db563 into swiftlang:main Jul 19, 2024
3 checks passed
@hborla hborla deleted the unavailable-sendable-restated branch July 19, 2024 19:32
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.

2 participants