Skip to content

[5.10][Concurrency] Start diagnosing use of global actor isolated propertie… #70329

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

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Dec 8, 2023

…s in key paths in strict mode

Partial cherry-pick of #70285


  • Explanation:

Start diagnosing use of global actor isolated properties in key paths in strict mode.

If key path is formed in a concurrency domain different from the one where the member is,
diagnose that as a warning in a strict mode and error in swift 6 mode with strict concurrency enabled.

…s in key paths in strict mode

If key path is formed in a concurrency domain different from the
one where the member is, diagnose that as a warning in a strict mode
and error in swift 6 mode with strict concurrency enabled.
@xedin xedin requested a review from hborla December 8, 2023 19:05
@xedin xedin requested a review from a team as a code owner December 8, 2023 19:05
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.10 labels Dec 8, 2023
@xedin
Copy link
Contributor Author

xedin commented Dec 8, 2023

@swift-ci please test

@xedin xedin merged commit c05dd0b into swiftlang:release/5.10 Dec 9, 2023
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 5.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants