@@ -29,6 +29,7 @@ fileprivate struct NoOpMemberMacro: MemberMacro {
2929 static func expansion(
3030 of node: AttributeSyntax ,
3131 providingMembersOf declaration: some DeclGroupSyntax ,
32+ conformingTo protocols: [ TypeSyntax ] ,
3233 in context: some MacroExpansionContext
3334 ) throws -> [ DeclSyntax ] {
3435 return [ ]
@@ -43,6 +44,7 @@ final class MemberMacroTests: XCTestCase {
4344 static func expansion(
4445 of node: AttributeSyntax ,
4546 providingMembersOf declaration: some DeclGroupSyntax ,
47+ conformingTo protocols: [ TypeSyntax ] ,
4648 in context: some MacroExpansionContext
4749 ) throws -> [ DeclSyntax ] {
4850 guard case . argumentList( let arguments) = node. arguments else {
@@ -88,6 +90,7 @@ final class MemberMacroTests: XCTestCase {
8890 static func expansion(
8991 of node: AttributeSyntax ,
9092 providingMembersOf decl: some DeclGroupSyntax ,
93+ conformingTo protocols: [ TypeSyntax ] ,
9194 in context: some MacroExpansionContext
9295 ) throws -> [ DeclSyntax ] {
9396 return [ " var _storage: Storage<Self> " ]
@@ -179,6 +182,7 @@ final class MemberMacroTests: XCTestCase {
179182 static func expansion(
180183 of node: AttributeSyntax ,
181184 providingMembersOf declaration: some DeclGroupSyntax ,
185+ conformingTo protocols: [ TypeSyntax ] ,
182186 in context: some MacroExpansionContext
183187 ) throws -> [ DeclSyntax ] {
184188 guard case . argumentList( let arguments) = node. arguments, let argument = arguments. first? . expression else {
@@ -227,6 +231,7 @@ final class MemberMacroTests: XCTestCase {
227231 static func expansion(
228232 of node: AttributeSyntax ,
229233 providingMembersOf declaration: some DeclGroupSyntax ,
234+ conformingTo protocols: [ TypeSyntax ] ,
230235 in context: some MacroExpansionContext
231236 ) throws -> [ DeclSyntax ] {
232237 guard case . argumentList( let arguments) = node. arguments, let argument = arguments. first? . expression else {
0 commit comments