blob: 6b8ac94f0e2bc81a845b42340c4f652f2dc8e4bc (
plain) (
tree)
|
|
import scala.reflect.makro.{Context => Ctx}
import scala.reflect.{mirror => mr}
object Macros {
def foo = macro Impls.foo
object Impls {
def foo(c: Ctx) = c.reify {
{ c.reify(c.reify("hello world")) }.eval.eval
}
}
}
|