Currently, I tried doing something like the following:
def macroImpl(cx: Context)(...) = {
new MacroImplementations { val c = cx }
}
but it complains that c
in MacroImplementations
is of type scala.reflect.macros.runtime.Context
, while cx
is of type scala.reflect.macros.Context
.
What is the difference between those two contexts?