blob: 3b80b88295a7c0cd55c312dbe5a39d7746c20d2a (
plain) (
tree)
|
|
import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Context
object Macros {
def foo: Unit = macro impl
def impl(c: Context) = {
import c.universe._
q"()"
}
}
|