We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
spacedBinaryOperator
unspacedBinaryOperator
1 parent 0bc2f03 commit 80c64ccCopy full SHA for 80c64cc
Sources/SwiftFormatPrettyPrint/TokenStreamCreator.swift
@@ -308,7 +308,7 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
308
// from the following parenthesis or generic argument list. Note that even if the function is
309
// defining a prefix or postfix operator, or even if the operator isn't originally followed by a
310
// space, the token kind always comes through as `spacedBinaryOperator`.
311
- if case .spacedBinaryOperator = node.identifier.tokenKind {
+ if case .binaryOperator = node.identifier.tokenKind {
312
after(node.identifier.lastToken, tokens: .space)
313
}
314
0 commit comments