blob: 74ebf5af9658d8b7fe8bf25c09bc295ba10417dc (
plain) (
tree)
|
|
import scala.reflect.macros.blackbox.Context
import language.experimental.macros
object Macros {
def impl(c: Context) = {
import c.universe._
val wut = c.typecheck(Select(Literal(Constant(10)), newTermName("$minus")), silent = true)
// println(showRaw(wut, printIds = true, printTypes = true))
c.Expr[Unit](q"()")
}
def foo = macro impl
}
|