Macro def -> macro impl bindings are serialized into a macroImpl annotation
with synthetic content that carries the payload described in MacroImplBinding.
For example, for a pair of macro definition and macro implementation:
def impl(c: scala.reflect.macros.Context): c.Expr[Unit] = c.literalUnit;
def foo: Unit = macro impl
We will have the following annotation added on the macro definition foo:
Macro def -> macro impl bindings are serialized into a
macroImpl
annotation with synthetic content that carries the payload described inMacroImplBinding
.For example, for a pair of macro definition and macro implementation: def impl(c: scala.reflect.macros.Context): c.Expr[Unit] = c.literalUnit; def foo: Unit = macro impl
We will have the following annotation added on the macro definition
foo
: