Skip to content

[Concurrency] References to nonisolated(nonsending) properties don't… #82386

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 20, 2025

… 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

@xedin
Copy link
Contributor Author

xedin commented Jun 20, 2025

@swift-ci please test

@xedin xedin changed the title [Concurrent] References to nonisolated(nonsending) properties don't… [Concurrency] References to nonisolated(nonsending) properties don't… Jun 20, 2025
…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
@xedin
Copy link
Contributor Author

xedin commented Jun 20, 2025

@swift-ci please test

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