summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2009-04-27 16:12:22 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2009-04-27 16:12:22 +0000
commitd5985686e0813ab32fc360d4fcdc773fd20b7047 (patch)
tree60da4701a0ef45906b53603c3259f1193afbc683 /src/library
parentcbb366f129047a72ed1d215131284d13c54afc34 (diff)
downloadscala-d5985686e0813ab32fc360d4fcdc773fd20b7047.tar.gz
scala-d5985686e0813ab32fc360d4fcdc773fd20b7047.tar.bz2
scala-d5985686e0813ab32fc360d4fcdc773fd20b7047.zip
Fixed evidently wrong condition in subtyping te...
Fixed evidently wrong condition in subtyping test for class manifests. Still, the test makes no sense to me whatseoever.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/reflect/Manifest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/reflect/Manifest.scala b/src/library/scala/reflect/Manifest.scala
index 53857c048b..826211c8ab 100644
--- a/src/library/scala/reflect/Manifest.scala
+++ b/src/library/scala/reflect/Manifest.scala
@@ -105,7 +105,7 @@ object Manifest {
val args1 = meth.invoke(that, null).asInstanceOf[Array[Manifest[_]]]
super.<:<(that) && args.equalsWith(args1)((x, y) => x <:< y)
} catch {
- case _ => false
+ case _ => super.<:<(that)
}
}
override lazy val toString =