Skip to content

[6.2][Concurrency] A few nonisolated(nonsending) fixes #82432

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 2 commits into from
Jun 24, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 23, 2025

Cherry-pick of #82382 and #82386


xedin added 2 commits June 23, 2025 13:58
…tnesses

If the requirement is `nonisolated(nonsending)` but witness is
synchronous, prevent actor isolation inference from requirements
because this isolation only applies to asynchronous declarations
at the moment.

Resolves: rdar://153680826
(cherry picked from commit a964282)
…t leave caller's isolation

Make sure that referencing `nonisolated(nonsending)` properties,
especially through a witness is as not treated as leaving the
isolation domain of the caller.

Resolves: rdar://153922620
(cherry picked from commit 35a41ab)
@xedin xedin requested a review from a team as a code owner June 23, 2025 21:03
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jun 23, 2025
@xedin
Copy link
Contributor Author

xedin commented Jun 23, 2025

@swift-ci please test

@xedin xedin merged commit 67449c9 into swiftlang:release/6.2 Jun 24, 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