mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "[concurrency] Add Concurrent/ConcurrentUnsafe and use it instead of ActorIsolation::Nonisolated."
This reverts commit 0cb64638d0.
This commit is contained in:
@@ -492,10 +492,8 @@ getActualActorIsolationKind(uint8_t raw) {
|
||||
CASE(Unspecified)
|
||||
CASE(ActorInstance)
|
||||
CASE(Nonisolated)
|
||||
CASE(NonisolatedUnsafe)
|
||||
CASE(Concurrent)
|
||||
CASE(ConcurrentUnsafe)
|
||||
CASE(CallerIsolationInheriting)
|
||||
CASE(NonisolatedUnsafe)
|
||||
CASE(GlobalActor)
|
||||
CASE(Erased)
|
||||
#undef CASE
|
||||
@@ -4075,8 +4073,6 @@ public:
|
||||
case ActorIsolation::Unspecified:
|
||||
case ActorIsolation::Nonisolated:
|
||||
case ActorIsolation::NonisolatedUnsafe:
|
||||
case ActorIsolation::Concurrent:
|
||||
case ActorIsolation::ConcurrentUnsafe:
|
||||
isolation = ActorIsolation::forUnspecified();
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user