diff options
Diffstat (limited to 'test/files/run/typetags_multi.scala')
-rw-r--r-- | test/files/run/typetags_multi.scala | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/files/run/typetags_multi.scala b/test/files/run/typetags_multi.scala index 868edc2b2a..a989662160 100644 --- a/test/files/run/typetags_multi.scala +++ b/test/files/run/typetags_multi.scala @@ -1,7 +1,9 @@ +import scala.reflect.runtime.universe._ + object Test extends App { - println(typeTag[Int]) - println(typeTag[Array[Int]]) - println(typeTag[Array[Array[Int]]]) - println(typeTag[Array[Array[Array[Int]]]]) - println(typeTag[Array[Array[Array[Array[Int]]]]]) + println(typeOf[Int]) + println(typeOf[Array[Int]]) + println(typeOf[Array[Array[Int]]]) + println(typeOf[Array[Array[Array[Int]]]]) + println(typeOf[Array[Array[Array[Array[Int]]]]]) }
\ No newline at end of file |