blob: 4b449f35eddafc7435cc9e6cbae07c1bd03a8ae3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import scala.reflect.makro.{Context => Ctx}
object Impls {
def foo(c: Ctx)(x: c.Expr[Int], y: c.Expr[Int]) = ???
}
object Macros {
def foo(x: Int) = macro Impls.foo
}
|