Skip to content

[6.2][Concurrency] Downgrade errors to warnings when Sendable requirement is inferred from a preconcurrency protocol #82037

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 4 commits into from
Jun 6, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 5, 2025

Cherry-pick of #81960


xedin added 4 commits June 5, 2025 14:48
…econcurrencyProtocol`

The new name better reflects the intention for this Sendable check kind.

(cherry picked from commit 7cca722)
…t is inferred from a preconcurrency protocol

If a type gets `Sendable` conformace requirement through another
`@preconcurrency` protocol the error should be downgraded even
with strict concurrency checking to allow clients time to address
the new requirement.

Resolves: rdar://146027395
(cherry picked from commit 6d45229)
…appears inside of a member type

(cherry picked from commit 3495c61)
@xedin xedin added the 🍒 release cherry pick Flag: Release branch cherry picks label Jun 5, 2025
@xedin xedin requested a review from a team as a code owner June 5, 2025 21:51
@xedin xedin added the swift 6.2 label Jun 5, 2025
@xedin
Copy link
Contributor Author

xedin commented Jun 5, 2025

@swift-ci please test

@xedin xedin requested a review from bnbarham June 5, 2025 22:45
@xedin xedin merged commit 2a3e2d0 into swiftlang:release/6.2 Jun 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants