File tree Expand file tree Collapse file tree
Builders/Declarations/Common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ extension DeclBuilder {
2929
3030 guard index <= maxAllowedIndex else {
3131 let tokenKind = TokenKind . accessControlLevels [ maxAllowedIndex]
32- return TokenSyntax ( tokenKind, presence: . present)
32+ return TokenSyntax ( tokenKind, presence: . present) . withTrailingSpace
3333 }
3434
3535 switch settings. inheritingDeclaration {
Original file line number Diff line number Diff line change @@ -76,8 +76,7 @@ public struct ParameterExtractor {
7676 }
7777
7878 if let memberAccessExpression = MemberAccessExprSyntax ( expression) ,
79- let referenceExpression = DeclReferenceExprSyntax ( memberAccessExpression. declName) ,
80- referenceExpression. baseName. tokenKind == . keyword( . self ) ,
79+ memberAccessExpression. declName. baseName. tokenKind == . keyword( . self ) ,
8180 let baseType = memberAccessExpression. base {
8281 return . isolated( " \( baseType) " )
8382 }
You can’t perform that action at this time.
0 commit comments