blob: 2eef7aac8b97fb0653cef62775eaf0967f49b243 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import scala.reflect.runtime.universe._
import scala.reflect.makro.{Context => Ctx}
object Impls {
def foo[U: c.TypeTag: Numeric](c: Ctx) = {
import c.universe._
Literal(Constant(42))
}
}
|