blob: 8d6797f792e36873c590bd41f2244f26f47efa02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval
object Test extends App {
reify {
val ru = scala.reflect.runtime.universe
val tpe: ru.Type = ru.typeOf[List[Int]]
println(tpe)
}.eval
}
|