Skip to content

Commit 7cd9ff3

Browse files
committed
Remove references to nodes that no longer exist.
1 parent 2ce90d3 commit 7cd9ff3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Sources/SwiftFormatPrettyPrint/TokenStreamCreator.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,10 +1641,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
16411641
return .visitChildren
16421642
}
16431643

1644-
override func visit(_ node: ElseBlockSyntax) -> SyntaxVisitorContinueKind {
1645-
return .visitChildren
1646-
}
1647-
16481644
override func visit(_ node: ConditionElementSyntax) -> SyntaxVisitorContinueKind {
16491645
before(node.firstToken, tokens: .open)
16501646
if let comma = node.trailingComma {
@@ -2178,10 +2174,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
21782174
return .visitChildren
21792175
}
21802176

2181-
override func visit(_ node: ElseIfContinuationSyntax) -> SyntaxVisitorContinueKind {
2182-
return .visitChildren
2183-
}
2184-
21852177
override func visit(_ node: GenericWhereClauseSyntax) -> SyntaxVisitorContinueKind {
21862178
guard node.whereKeyword != node.lastToken else {
21872179
verbatimToken(Syntax(node))

0 commit comments

Comments
 (0)