import scala.reflect.mirror._ object Test extends App { { type T = Int val code = reify { List[T](2) } println(code.eval) } }