Skip to content

Commit a26a284

Browse files
committed
Remove visitor override for unused ObjectLiteralExprSyntax
1 parent c324a11 commit a26a284

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Sources/SwiftFormatPrettyPrint/TokenStreamCreator.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,18 +1209,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
12091209
return .skipChildren
12101210
}
12111211

1212-
override func visit(_ node: ObjectLiteralExprSyntax) -> SyntaxVisitorContinueKind {
1213-
// TODO: Remove this; it has been subsumed by `MacroExpansionDeclSyntax`. But that feature is
1214-
// still in flux and this node type is still present in the API, even though nothing in the
1215-
// parser currently creates it.
1216-
arrangeFunctionCallArgumentList(
1217-
node.arguments,
1218-
leftDelimiter: node.leftParen,
1219-
rightDelimiter: node.rightParen,
1220-
forcesBreakBeforeRightDelimiter: false)
1221-
return .visitChildren
1222-
}
1223-
12241212
override func visit(_ node: MacroExpansionDeclSyntax) -> SyntaxVisitorContinueKind {
12251213
arrangeFunctionCallArgumentList(
12261214
node.argumentList,

0 commit comments

Comments
 (0)