blob: 8e52613b6d39b74910bae14542c1349038085f3a (
plain) (
tree)
|
|
import scala.reflect.makro.{Context => Ctx}
object Impls {
def foo(c: Ctx) = {
import c.mirror._
val body = Apply(Select(Ident(definitions.PredefModule), newTermName("println")), List(Literal(Constant("it works"))))
Expr[Unit](body)
}
}
|