Skip to content

[Concurrency] Diagnose loss of global actor isolation in async functi… #81418

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 1 commit into from
May 15, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented May 9, 2025

…on conversions

Perform Sendable checking on parameter/result of the function type when conversion between asynchroneous functions results in a loss of global actor isolation attribute because access would result in data crossing an isolation boundary.

This is a warning until Swift language mode 6.

Resolves: rdar://130168104

…on conversions

Perform `Sendable` checking on parameter/result of the function
type when conversion between asynchroneous functions results in
a loss of global actor isolation attribute because access would
result in data crossing an isolation boundary.

This is a warning until Swift language mode 6.

Resolves: rdar://130168104
@xedin xedin requested review from ktoso, hborla and slavapestov as code owners May 9, 2025 20:09
@xedin
Copy link
Contributor Author

xedin commented May 12, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented May 12, 2025

@swift-ci please test source compatibility

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented May 13, 2025

@swift-ci please test source compatibility

@xedin
Copy link
Contributor Author

xedin commented May 15, 2025

@swift-ci please smoke test macOS platform

@xedin xedin merged commit a8c5389 into swiftlang:main May 15, 2025
7 checks passed
hamishknight added a commit to hamishknight/swift that referenced this pull request May 22, 2025
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