We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328629e commit a15f520Copy full SHA for a15f520
lib/SILGen/SILGenConcurrency.cpp
@@ -50,7 +50,7 @@ static void setExpectedExecutorForParameterIsolation(SILGenFunction &SGF,
50
ActorIsolation actorIsolation) {
51
auto loc = RegularLocation::getAutoGeneratedLocation(SGF.F.getLocation());
52
ManagedValue actorArg;
53
- if (actorIsolation.getActorInstanceParameter() == 0) {
+ if (actorIsolation.isActorInstanceForSelfParameter()) {
54
ManagedValue selfMV;
55
auto selfArg = SGF.F.getSelfArgument();
56
if (selfArg->getOwnershipKind() == OwnershipKind::Guaranteed) {
0 commit comments