blob: 670f76faa47e59e543b53e096e13e00f506a5a70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
Expr[Unit]({
val ru = `package`.universe;
val tpe1: ru.Type = ru.typeOf[`package`.List[Int]];
Predef.println(tpe1);
val tpe2: ru.Type = ru.typeOf(List.apply(1, 2, 3));
Predef.println(tpe2)
})
scala.List[Int]
List[Int]
()
|