Skip to content

Commit 6c1fedb

Browse files
committed
Use NilLiteralExpr in BuildableCollectionNodes
1 parent 1e9e624 commit 6c1fedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSyntaxBuilderGeneration/Templates/BuildableCollectionNodesFile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private func createBuildFunction(node: Node) -> FunctionDecl {
200200
BinaryOperatorExpr("+")
201201
FunctionCallExpr(MemberAccessExpr(base: "format", name: "_makeIndent"))
202202
}
203-
: "nil"
203+
: NilLiteralExpr()
204204
)
205205
}
206206
})

0 commit comments

Comments
 (0)