File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Sources/SpyableMacro/Extensions Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ extension GenericArgumentClauseSyntax: TypeSyntaxSupportingGenerics {
110110 arguments. compactMap {
111111 #if canImport(SwiftSyntax601)
112112 if case let . type( type) = $0. argument {
113- return type
113+ return type
114114 } else {
115115 return nil
116116 }
@@ -119,10 +119,10 @@ extension GenericArgumentClauseSyntax: TypeSyntaxSupportingGenerics {
119119 #endif
120120 }
121121 }
122-
122+
123123 fileprivate func erasingGenericTypes( _ genericTypes: Set < String > ) -> Self {
124124 var newArgumentElements : [ GenericArgumentSyntax ] = [ ]
125-
125+
126126 for argumentElement in arguments {
127127 #if canImport(SwiftSyntax601)
128128 let newArgument : TypeSyntax
@@ -140,9 +140,9 @@ extension GenericArgumentClauseSyntax: TypeSyntaxSupportingGenerics {
140140 )
141141 newArgumentElements. append ( newArgumentElement)
142142 }
143-
143+
144144 let newArguments = GenericArgumentListSyntax ( newArgumentElements)
145-
145+
146146 return Self (
147147 leftAngle: self . leftAngle,
148148 arguments: newArguments,
@@ -155,7 +155,7 @@ extension TupleTypeSyntax: TypeSyntaxSupportingGenerics {
155155 fileprivate var nestedTypeSyntaxes : [ TypeSyntax ] {
156156 elements. map { $0. type }
157157 }
158-
158+
159159 fileprivate func erasingGenericTypes( _ genericTypes: Set < String > ) -> Self {
160160 with (
161161 \. elements,
You can’t perform that action at this time.
0 commit comments