blob: 72c6a2c30847e49233d32358076625238bbdf647 (
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) = ???
}
object Test extends App {
def foo: Unit = macro Macros.impl
}
|