blob: 76d696bf1dd0bd8715752fb4e3792d8bf3853e5d (
plain) (
tree)
|
|
import scala.reflect.macros.blackbox.Context
object Impls {
def foo(c: Context) = {
import c.universe._
val body = Ident(TermName("IDoNotExist"))
c.Expr[Int](body)
}
}
object Macros {
def foo = macro Impls.foo
}
|