-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] Adopt @_inheritActorContext(always)
on Task.immediate
#81572
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
[stdlib] Adopt @_inheritActorContext(always)
on Task.immediate
#81572
Conversation
@swift-ci please test |
This change aligns implementation with the current SE-0472 proposal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, we may want to make the function always emit into client actually!
@swift-ci please test Linux platform |
1 similar comment
@swift-ci please test Linux platform |
85eff41
to
8c43330
Compare
@swift-ci please test |
…icitSelfCapture` Since the "operation" inherits the context of the actor it should also be possible to reference its members without explicit use of `self.`.
8c43330
to
0598b8c
Compare
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, perfect now, lgtm
…torContextAlways-in-Task-APIs" This reverts commit a64984a.
This change aligns implementation with the current SE-0472 proposal.