diff --git a/tests/pos-macros/i20353/Macro_1.scala b/tests/pos-macros/i20353/Macro_1.scala index 7f1a914b89c6..ba1e1620c1d6 100644 --- a/tests/pos-macros/i20353/Macro_1.scala +++ b/tests/pos-macros/i20353/Macro_1.scala @@ -16,7 +16,7 @@ end ImplicitValue @experimental class Test extends MacroAnnotation: - def transform(using Quotes)(tree: quotes.reflect.Definition) = + def transform(using Quotes)(definition: quotes.reflect.Definition, companion: Option[quotes.reflect.Definition]) = import quotes.reflect.* Implicits.search(TypeRepr.of[ImplicitValue]) - List(tree) + List(definition)