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.
2 parents 0349863 + 4724c19 commit f87ecdeCopy full SHA for f87ecde
Sources/SwiftFormatPrettyPrint/TokenStreamCreator.swift
@@ -1719,7 +1719,7 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
1719
// this special exception for `async let` statements to avoid breaking prematurely between the
1720
// `async` and `let` keywords.
1721
let breakOrSpace: Token
1722
- if node.name.tokenKind == .identifier("async") {
+ if node.name.tokenKind == .contextualKeyword("async") {
1723
breakOrSpace = .space
1724
} else {
1725
breakOrSpace = .break
0 commit comments