blob: a58af1a23c1617a9ccd74adaa424bdc4051d141f (
plain) (
blame)
1
2
3
4
5
6
7
|
import scala.reflect.macros.Context
import scala.reflect.runtime.{universe => ru}
object Impls {
def foo1(c: Context) = 2
def foo2(c: Context) = ru.Literal(ru.Constant(42))
}
|