Skip to content

Commit 5597b2f

Browse files
committed
Fix for new use of CallExpr::Create
1 parent 37b98af commit 5597b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/BuilderTransform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ class BuilderClosureVisitor
823823
auto bodyVarRef = buildVarRef(bodyVar, endLoc);
824824
Expr *arrayAppendCall = CallExpr::create(
825825
ctx, arrayAppendRef, endLoc, { bodyVarRef } , { Identifier() },
826-
{ endLoc }, endLoc, /*trailingClosure=*/nullptr, /*implicit=*/true);
826+
{ endLoc }, endLoc, /*trailingClosures=*/{}, /*implicit=*/true);
827827
arrayAppendCall = cs->generateConstraints(arrayAppendCall, dc);
828828
if (!arrayAppendCall) {
829829
hadError = true;

0 commit comments

Comments
 (0)