blob: 077082a9c2432437ce28fcdf6990a1a30e39d331 (
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"()"
}
}
|