Skip to content

Commit 8fef70d

Browse files
committed
Corrections
1 parent 8ebe1e0 commit 8fef70d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/AST/Decl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11373,7 +11373,7 @@ ActorIsolation::forActorInstanceParameter(Expr *actor,
1137311373
return ActorIsolation::forNonisolated(/*unsafe*/false);
1137411374

1137511375
// An isolated value of `<global actor type>.shared` is statically
11376-
// global-actor-isolated.
11376+
// global-actor isolated.
1137711377
if (auto *memberRef = dyn_cast<MemberRefExpr>(actor)) {
1137811378
// Check that the member declaration witnesses the `shared`
1137911379
// requirement of the `GlobalActor` protocol.

lib/SILOptimizer/Utils/SILIsolationInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ SILIsolationInfo SILIsolationInfo::get(SILArgument *arg) {
866866
// disconnected so we can construct the actor value. Users cannot write
867867
// allocator functions so we just need to worry about compiler generated
868868
// code. In the case of a non-actor, we can only have an allocator that is
869-
// global-actor-isolated, so we will never hit this code path.
869+
// global-actor isolated, so we will never hit this code path.
870870
if (declRef.kind == SILDeclRef::Kind::Allocator) {
871871
if (fArg->getFunction()->getActorIsolation().isActorInstanceIsolated()) {
872872
return SILIsolationInfo::getDisconnected(false /*nonisolated(unsafe)*/);

0 commit comments

Comments
 (0)