Skip to content

[6.2][Concurrency] SE-0449: Fix a few issues related to nonisolated type declarations #82324

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 5 commits into from
Jun 18, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 17, 2025

Cherry-pick of #79893, #82289


simanerush and others added 5 commits June 17, 2025 15:29
…from protocol conformances.

(cherry picked from commit 4fca62a)
…make witnesses nonisolated

Even if the requirement is stated on an isolated protocol if the
conformance is implied by a nonisolated one all of the requirements
and witnesses should be nonisolated.

(cherry picked from commit 06be7bd)
…on inference from protocol requirements

If a `nonisolated` type conforms to a global-isolated protocol
the witnesses to the protocol requirements should infer the
isolation from the protocol but instead be `nonisolated`.

Resolves: rdar://145519840
(cherry picked from commit e50acbf)
@xedin xedin requested a review from a team as a code owner June 17, 2025 22:34
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jun 17, 2025
@xedin
Copy link
Contributor Author

xedin commented Jun 17, 2025

@swift-ci please test

@xedin xedin merged commit 3d1c592 into swiftlang:release/6.2 Jun 18, 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.

3 participants