blob: 04eef976c5a153f7473cd7f9f98e99cefe447552 (
plain) (
tree)
|
|
import scala.reflect.makro.{Context => Ctx}
object Impls {
def foo(c: Ctx) = {
import c.universe._
val body = Ident("IDoNotExist")
c.Expr[Int](body)
}
}
object Macros {
def foo = macro Impls.foo
}
|