blob: 4f7d289e2e4a97871caeee323ff34f3c53591eb6 (
plain) (
tree)
|
|
import language.experimental.macros
import reflect.macros.Context
object M {
def m(a: Any, b: Any): Any = macro mImpl
def mImpl(c: Context)(a: c.Expr[Any], b: c.Expr[Any]) = a
@reflect.internal.annotations.compileTimeOnly("cto may only be used as an argument to " + "m")
def cto = 0
}
|