blob: 18517760788236e2a60ad3763846176fe4da56fa (
plain) (
tree)
|
|
import scala.reflect.macros.whitebox._
import scala.language.experimental.macros
class Macros(val c: Context) {
def impl(x: c.Tree) = ???
}
object Macros {
def impl(c: Context) = ???
}
object Test extends App {
def foo: Unit = macro Macros.impl
}
|