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