Skip to content

Commit dc64a5d

Browse files
committed
This updates the visitor interface for the updated swift-syntax interface in 3c0c316d98dcbd9f150438d454ef850927b874ed. This allows building on main again.
1 parent a615c2c commit dc64a5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftFormatPrettyPrint/TokenStreamCreator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,8 +2011,8 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
20112011
return .visitChildren
20122012
}
20132013

2014-
override func visit(_ node: SomeTypeSyntax) -> SyntaxVisitorContinueKind {
2015-
after(node.someSpecifier, tokens: .space)
2014+
override func visit(_ node: ConstrainedSugarTypeSyntax) -> SyntaxVisitorContinueKind {
2015+
after(node.someOrAnySpecifier, tokens: .space)
20162016
return .visitChildren
20172017
}
20182018

0 commit comments

Comments
 (0)