Skip to content

Commit 24efe7f

Browse files
authored
Merge pull request #577 from ahoppen/ahoppen/declnamearguments
Adjustments for usage of `DeclReferenceExprSyntax` as child of `MemberAccessExprSyntax`
2 parents 243db9e + 7733d17 commit 24efe7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftFormatRules/UseShorthandTypeNames.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ public final class UseShorthandTypeNames: SyntaxFormatRule {
385385
let result = MemberAccessExprSyntax(
386386
base: baseType,
387387
period: memberTypeIdentifier.period,
388-
name: memberTypeIdentifier.name,
389-
declNameArguments: nil)
388+
name: memberTypeIdentifier.name
389+
)
390390
return ExprSyntax(result)
391391

392392
case .arrayType(let arrayType):

0 commit comments

Comments
 (0)