File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/SwiftFormatPrettyPrint Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -306,9 +306,9 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
306306
307307 // Add a non-breaking space after the identifier if it's an operator, to separate it visually
308308 // 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 {
309+ // defining a prefix or postfix operator, the token kind always comes through as
310+ // `binaryOperator `.
311+ if case . binaryOperator = node. identifier. tokenKind {
312312 after ( node. identifier. lastToken, tokens: . space)
313313 }
314314
You can’t perform that action at this time.
0 commit comments