summaryrefslogtreecommitdiff
path: root/test/files/run/typetags_core.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-07 22:05:34 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-06-08 15:34:26 +0200
commit5acac4d806eb45afdf1e7716c727a97130b69651 (patch)
treef37a3fcaf44699d4c0272ffdacdf7929424bc784 /test/files/run/typetags_core.scala
parentbc5f42f51982eb473075bbd2f474a5d628813031 (diff)
downloadscala-5acac4d806eb45afdf1e7716c727a97130b69651.tar.gz
scala-5acac4d806eb45afdf1e7716c727a97130b69651.tar.bz2
scala-5acac4d806eb45afdf1e7716c727a97130b69651.zip
TypeTag => AbsTypeTag, ConcreteTypeTag => TypeTag
This protects everyone from the confusion caused by stuff like this: https://issues.scala-lang.org/browse/SI-5884
Diffstat (limited to 'test/files/run/typetags_core.scala')
-rw-r--r--test/files/run/typetags_core.scala32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/files/run/typetags_core.scala b/test/files/run/typetags_core.scala
deleted file mode 100644
index a870f77c5f..0000000000
--- a/test/files/run/typetags_core.scala
+++ /dev/null
@@ -1,32 +0,0 @@
-import scala.reflect.runtime.universe._
-
-object Test extends App {
- println(implicitly[TypeTag[Byte]] eq TypeTag.Byte)
- println(implicitly[TypeTag[Byte]])
- println(implicitly[TypeTag[Short]] eq TypeTag.Short)
- println(implicitly[TypeTag[Short]])
- println(implicitly[TypeTag[Char]] eq TypeTag.Char)
- println(implicitly[TypeTag[Char]])
- println(implicitly[TypeTag[Int]] eq TypeTag.Int)
- println(implicitly[TypeTag[Int]])
- println(implicitly[TypeTag[Long]] eq TypeTag.Long)
- println(implicitly[TypeTag[Long]])
- println(implicitly[TypeTag[Float]] eq TypeTag.Float)
- println(implicitly[TypeTag[Float]])
- println(implicitly[TypeTag[Double]] eq TypeTag.Double)
- println(implicitly[TypeTag[Double]])
- println(implicitly[TypeTag[Boolean]] eq TypeTag.Boolean)
- println(implicitly[TypeTag[Boolean]])
- println(implicitly[TypeTag[Unit]] eq TypeTag.Unit)
- println(implicitly[TypeTag[Unit]])
- println(implicitly[TypeTag[Any]] eq TypeTag.Any)
- println(implicitly[TypeTag[Any]])
- println(implicitly[TypeTag[Object]] eq TypeTag.Object)
- println(implicitly[TypeTag[Object]])
- println(implicitly[TypeTag[Null]] eq TypeTag.Null)
- println(implicitly[TypeTag[Null]])
- println(implicitly[TypeTag[Nothing]] eq TypeTag.Nothing)
- println(implicitly[TypeTag[Nothing]])
- println(implicitly[TypeTag[String]] eq TypeTag.String)
- println(implicitly[TypeTag[String]])
-} \ No newline at end of file