Skip to content

[CSApply] Don't inject global actor into closure type if it's marked … #81690

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 May 21, 2025

…as @concurrent

When the attribute is specified explicitly passing a @concurrent closure to a global actor-isolated parameter or contextual type should result in a conversion and closure itself should be nonisolated.

Resolves: rdar://151797372

@xedin xedin requested review from ktoso and hborla as code owners May 21, 2025 20:50
…as `@concurrent`

When the attribute is specified explicitly passing a `@concurrent`
closure to a global actor-isolated parameter or contextual type
should result in a conversion and closure itself should be nonisolated.

Resolves: rdar://151797372
@xedin xedin force-pushed the rdar-151797372 branch from 0505bcd to efc6efc Compare May 21, 2025 22:22
@xedin
Copy link
Contributor Author

xedin commented May 21, 2025

@swift-ci please test

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented May 22, 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.

1 participant