File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/ASTGen/Sources/ASTGen Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -752,7 +752,7 @@ func expandAttachedMacroInProcess(
752
752
// the existential.
753
753
func expandConformanceMacro< Node: DeclGroupSyntax > (
754
754
_ node: Node
755
- ) throws -> [ ( TypeSyntax , WhereClauseSyntax ? ) ] {
755
+ ) throws -> [ ( TypeSyntax , GenericWhereClauseSyntax ? ) ] {
756
756
return try attachedMacro. expansion (
757
757
of: sourceManager. detach (
758
758
customAttrNode,
Original file line number Diff line number Diff line change @@ -1018,7 +1018,7 @@ public struct EquatableMacro: ConformanceMacro {
1018
1018
of node: AttributeSyntax ,
1019
1019
providingConformancesOf decl: some DeclGroupSyntax ,
1020
1020
in context: some MacroExpansionContext
1021
- ) throws -> [ ( TypeSyntax , WhereClauseSyntax ? ) ] {
1021
+ ) throws -> [ ( TypeSyntax , GenericWhereClauseSyntax ? ) ] {
1022
1022
let protocolName : TypeSyntax = " Equatable "
1023
1023
return [ ( protocolName, nil ) ]
1024
1024
}
You can’t perform that action at this time.
0 commit comments