mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user