Skip to content

Commit 32a6aa4

Browse files
authored
Merge pull request #552 from fwcd/nil-literal-expr-buildable-collection-nodes
Use `NilLiteralExpr` in `BuildableCollectionNodes`
2 parents 1e9e624 + 6c1fedb commit 32a6aa4

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)