Skip to content

Commit fc61823

Browse files
committed
Revert "Merge pull request #463 from bnbarham/remove-prefix-period"
This reverts commit a1ebffe, reversing changes made to 2f91be0. This change is not compatbile with swift-syntax `0.50800.0-SNAPSHOT-2022-12-20-a`.
1 parent 0cde44d commit fc61823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftFormatPrettyPrint/TokenStreamCreator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3321,7 +3321,7 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
33213321
if case .postfixOperator? = token.previousToken(viewMode: .all)?.tokenKind { return true }
33223322

33233323
switch token.nextToken(viewMode: .all)?.tokenKind {
3324-
case .prefixOperator?, .period?: return true
3324+
case .prefixOperator?, .prefixPeriod?: return true
33253325
default: return false
33263326
}
33273327
}

0 commit comments

Comments
 (0)