Skip to content

[WIP] @_inheritActorContext(always) #81438

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

Closed
wants to merge 3 commits into from

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented May 12, 2025

Partial work in progress to unblock the new Task.immediate semantics

@@ -6099,12 +6099,17 @@ static bool hasCurriedSelf(ConstraintSystem &cs, ConcreteDeclRef callee,
/// Apply the contextually Sendable flag to the given expression,
static void applyContextualClosureFlags(Expr *expr, bool implicitSelfCapture,
bool inheritActorContext,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function now takes 6 boolean arguments. Please turn it into an OptionSet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xedin pulled this into his #81496

Seems he changed it to be a ParameterListInfo there already 👍

@ktoso ktoso closed this May 14, 2025
@ktoso
Copy link
Contributor Author

ktoso commented May 14, 2025

This is now part of #81496, closing this PR

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