Skip to content

Commit d501b58

Browse files
authored
Merge pull request #16785 from brentdax/explicitly-implicit
Fix implicit UnresolvedMemberExpr crash
2 parents 4310145 + 769bc80 commit d501b58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSApply.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2670,7 +2670,7 @@ namespace {
26702670
ApplyExpr *apply = CallExpr::create(
26712671
tc.Context, result, arg, expr->getArgumentLabels(),
26722672
expr->getArgumentLabelLocs(), expr->hasTrailingClosure(),
2673-
/*implicit=*/false, Type(), getType);
2673+
/*implicit=*/expr->isImplicit(), Type(), getType);
26742674
result = finishApply(apply, Type(), cs.getConstraintLocator(expr));
26752675
}
26762676

0 commit comments

Comments
 (0)