File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Sources/PrincipleMacros/Syntax/Extensions Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -115,23 +115,23 @@ extension GenericArgumentClauseSyntax {
115
115
arguments: GenericArgumentListSyntax (
116
116
arguments. map { element in
117
117
#if canImport(SwiftSyntax601)
118
- switch element. argument {
119
- case . type( let type) :
120
- GenericArgumentSyntax (
121
- argument: . type( type. standardized) ,
122
- trailingComma: element. trailingComma? . trimmed. withTrailingSpace
123
- )
124
- default :
118
+ switch element. argument {
119
+ case let . type( type) :
120
+ GenericArgumentSyntax (
121
+ argument: . type( type. standardized) ,
122
+ trailingComma: element. trailingComma? . trimmed. withTrailingSpace
123
+ )
124
+ default :
125
+ GenericArgumentSyntax (
126
+ argument: element. argument,
127
+ trailingComma: element. trailingComma? . trimmed. withTrailingSpace
128
+ )
129
+ }
130
+ #else
125
131
GenericArgumentSyntax (
126
- argument: element. argument,
132
+ argument: element. argument. standardized ,
127
133
trailingComma: element. trailingComma? . trimmed. withTrailingSpace
128
134
)
129
- }
130
- #else
131
- GenericArgumentSyntax (
132
- argument: element. argument. standardized,
133
- trailingComma: element. trailingComma? . trimmed. withTrailingSpace
134
- )
135
135
#endif
136
136
}
137
137
)
You can’t perform that action at this time.
0 commit comments