File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/SwiftFormatPrettyPrint Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
155155 Syntax ( node) ,
156156 attributes: node. attributes,
157157 modifiers: node. modifiers,
158- typeKeyword: node. classKeyword ,
158+ typeKeyword: node. classOrActorKeyword ,
159159 identifier: node. identifier,
160160 genericParameterClause: node. genericParameterClause,
161161 inheritanceClause: node. inheritanceClause,
@@ -1639,7 +1639,7 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
16391639 }
16401640
16411641 override func visit( _ node: FunctionSignatureSyntax ) -> SyntaxVisitorContinueKind {
1642- before ( node. asyncKeyword , tokens: . break)
1642+ before ( node. asyncOrReasyncKeyword , tokens: . break)
16431643 before ( node. throwsOrRethrowsKeyword, tokens: . break)
16441644 before ( node. output? . firstToken, tokens: . break)
16451645 return . visitChildren
You can’t perform that action at this time.
0 commit comments