Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Nov 20, 2025

…on boundary closures

  • Explanation:

    Isolation boundary closures don't assume parent isolation and should be able to get nonisolated(nonsending) transferred to them jus like regular nonisolated closures do.

  • Resolves: rdar://163792371

  • Main Branch PR: [Concurrency] Allow transferring nonisolated(nonsending) to isolati… #85603

  • Risk: Low. Affects only isolation boundary closures (i.e. passed to a @Sendable parameter) when the parameter is also nonisolated(nonsending).

  • Reviewed By: @hborla

  • Testing: Added new test-cases to the suite.

(cherry picked from commit 2335293)

…on boundary closures

Isolation boundary closures don't assume parent isolation and should
be able to get `nonisolated(nonsending)` transferred to them jus
like regular nonisolated closures do.

Resolves: rdar://163792371
(cherry picked from commit 2335293)
@xedin xedin requested a review from a team as a code owner November 20, 2025 16:49
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.3 labels Nov 20, 2025
@xedin
Copy link
Contributor Author

xedin commented Nov 20, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Nov 20, 2025

@swift-ci please test Windows platform

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.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant