Skip to content

[Concurrency] Implicit global actor attributes imply Sendable. #73666

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 2 commits into from
May 16, 2024

Conversation

hborla
Copy link
Member

@hborla hborla commented May 16, 2024

Sendable derivation was only checking for explicit global actor attributes. It should also account for inferred global actor attributes, e.g. from protocol conformances.

Resolves: rdar://128173694

Sendable derivation was only checking for explicit global actor
attributes. It should also account for inferred global actor
attributes, e.g. from protocol conformances.
@hborla
Copy link
Member Author

hborla commented May 16, 2024

@swift-ci please smoke test

@hborla
Copy link
Member Author

hborla commented May 16, 2024

@swift-ci please smoke test

@hborla hborla merged commit 1b3aa87 into swiftlang:main May 16, 2024
3 checks passed
@hborla hborla deleted the implicit-global-actor-sendable branch May 16, 2024 23:30
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