summaryrefslogtreecommitdiff
path: root/test/files/neg/t3692-old.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-10-03 18:49:34 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-10-03 20:03:46 +0200
commit1acb1664f3c5203968ed989fc8531dbc8e534e05 (patch)
tree639b9e75577f8cb6106a59f8714f40f9db411f1b /test/files/neg/t3692-old.check
parentcd847070254a2c6055e543c65ec82ea8429ee757 (diff)
downloadscala-1acb1664f3c5203968ed989fc8531dbc8e534e05.tar.gz
scala-1acb1664f3c5203968ed989fc8531dbc8e534e05.tar.bz2
scala-1acb1664f3c5203968ed989fc8531dbc8e534e05.zip
undeprecates manifests for 2.10.0
Since scala-reflect.jar is going to be declared experimental for 2.10.0, it doesn't make sense to deprecate manifests in favor of type tags. Class manifests, however, ARE deprecated for class tags, because class tags don't require scala-reflect.jar and are generated independently of type tags.
Diffstat (limited to 'test/files/neg/t3692-old.check')
-rw-r--r--test/files/neg/t3692-old.check8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/files/neg/t3692-old.check b/test/files/neg/t3692-old.check
index 950f82951c..9f3ae516aa 100644
--- a/test/files/neg/t3692-old.check
+++ b/test/files/neg/t3692-old.check
@@ -7,14 +7,8 @@ t3692-old.scala:14: warning: non-variable type argument Int in type pattern Map[
t3692-old.scala:15: warning: non-variable type argument Int in type pattern Map[T,Int] is unchecked since it is eliminated by erasure
case m2: Map[T, Int] => new java.util.HashMap[T, Integer]
^
-t3692-old.scala:11: warning: type Manifest in object Predef is deprecated: Use scala.reflect.ClassTag (to capture erasures) or scala.reflect.runtime.universe.TypeTag (to capture types) or both instead
- private final def toJavaMap[T, V](map: Map[T, V])(implicit m1: Manifest[T], m2: Manifest[V]): java.util.Map[_, _] = {
- ^
-t3692-old.scala:11: warning: type Manifest in object Predef is deprecated: Use scala.reflect.ClassTag (to capture erasures) or scala.reflect.runtime.universe.TypeTag (to capture types) or both instead
- private final def toJavaMap[T, V](map: Map[T, V])(implicit m1: Manifest[T], m2: Manifest[V]): java.util.Map[_, _] = {
- ^
t3692-old.scala:15: error: unreachable code
case m2: Map[T, Int] => new java.util.HashMap[T, Integer]
^
-5 warnings found
+three warnings found
one error found