Merge pull request #71050 from hborla/global-actor-unsafe

[Concurrency] Deprecate `@GlobalActor(unsafe)` in favor of `@preconcurrency @GlobalActor`
This commit is contained in:
Holly Borla
2024-01-22 16:52:56 -08:00
committed by GitHub
32 changed files with 172 additions and 153 deletions

View File

@@ -7713,7 +7713,6 @@ ConstraintSystem::inferKeyPathLiteralCapability(KeyPathExpr *keyPath) {
// A reference to an actor isolated state make key path non-Sendable.
case ActorIsolation::ActorInstance:
case ActorIsolation::GlobalActor:
case ActorIsolation::GlobalActorUnsafe:
isSendable = false;
break;
}