Skip to content

Commit e9a35c0

Browse files
authored
Merge pull request #82865 from ktoso/wip-stronger-assert
2 parents 8b3cb86 + 4a5ccf0 commit e9a35c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILGen/SILGenConcurrency.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ setExpectedExecutorForParameterIsolation(SILGenFunction &SGF,
7575
// argument.
7676
if (actorIsolation.getKind() == ActorIsolation::CallerIsolationInheriting) {
7777
auto *isolatedArg = SGF.F.maybeGetIsolatedArgument();
78-
assert(isolatedArg &&
78+
ASSERT(isolatedArg &&
7979
"Caller Isolation Inheriting without isolated parameter");
8080
ManagedValue isolatedMV;
8181
if (isolatedArg->getOwnershipKind() == OwnershipKind::Guaranteed) {

0 commit comments

Comments
 (0)