diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-07-02 13:21:20 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-07-02 13:21:20 +0200 |
commit | 3becbd55aff0401f31fa6782c69c81b88befe39d (patch) | |
tree | 5af1b9f7b0b91ed513d39ab03307d513a5e01301 /test/files/run/typetags_multi.scala | |
parent | 3237b1cd6fc2b2029080fe9d4b2b76d43ab8011c (diff) | |
download | scala-3becbd55aff0401f31fa6782c69c81b88befe39d.tar.gz scala-3becbd55aff0401f31fa6782c69c81b88befe39d.tar.bz2 scala-3becbd55aff0401f31fa6782c69c81b88befe39d.zip |
removes ClassTag.String and TypeTag.String
TypeTag.String is removed because it's unclear whether it should point to
scala.Predef.String or to java.lang.String. ClassTag.String is removed to
be consistent with TypeTag.String.
This requires re-bootstrapping, because Definitions.scala in locker
expects classTag[String] being automatically generated, whereas starr
disagrees with locker on how to generate that class tag.
Diffstat (limited to 'test/files/run/typetags_multi.scala')
-rw-r--r-- | test/files/run/typetags_multi.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/typetags_multi.scala b/test/files/run/typetags_multi.scala new file mode 100644 index 0000000000..b30aac80a6 --- /dev/null +++ b/test/files/run/typetags_multi.scala @@ -0,0 +1,9 @@ +import scala.reflect.runtime.universe._ + +object Test extends App { + println(implicitly[TypeTag[Int]]) + println(implicitly[TypeTag[Array[Int]]]) + println(implicitly[TypeTag[Array[Array[Int]]]]) + println(implicitly[TypeTag[Array[Array[Array[Int]]]]]) + println(implicitly[TypeTag[Array[Array[Array[Array[Int]]]]]]) +}
\ No newline at end of file |