Merge pull request #73007 from xedin/promote-dynamic-actor-isolation-to-upcoming-feature

[SE-0423] Promote `DynamicActorIsolation` to an upcoming feature and add a way to disable checks
This commit is contained in:
Pavel Yaskevich
2024-04-16 11:46:41 -07:00
committed by GitHub
20 changed files with 417 additions and 82 deletions

View File

@@ -7462,7 +7462,7 @@ Expr *ExprRewriter::coerceToType(Expr *expr, Type toType,
}
}
if (ctx.LangOpts.hasFeature(Feature::DynamicActorIsolation)) {
if (ctx.LangOpts.isDynamicActorIsolationCheckingEnabled()) {
// Passing a synchronous global actor-isolated function value and
// parameter that expects a synchronous non-isolated function type could
// require a runtime check to ensure that function is always called in