blob: 04a43080bd1e82b06eef0e4e9c418abb896352cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import scala.reflect.makro.{Context => Ctx}
object Macros extends Impls {
def foo(x: Any) = macro impl
}
object Test extends App {
import Macros._
println(foo(42))
}
|