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