Skip to content

Commit 11134fa

Browse files
authored
Merge pull request #289 from compnerd/some-any
Adjust for swiftlang/swift-syntax@3c0c316
2 parents a615c2c + dc64a5d commit 11134fa

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)