summaryrefslogtreecommitdiff
path: root/src/library/scala/reflect/Manifest.scala
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-01-15 21:41:11 +0100
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-01-15 21:41:11 +0100
commitcebc49b9f37ec8c8a3befcee6142f9c0590c41e2 (patch)
tree9a907b27ccf8efc7c119a5f8ef6f9d4ad3de0fc1 /src/library/scala/reflect/Manifest.scala
parentac11155b3fae83e7977b58514ea10ca2a0c46a84 (diff)
downloadscala-cebc49b9f37ec8c8a3befcee6142f9c0590c41e2.tar.gz
scala-cebc49b9f37ec8c8a3befcee6142f9c0590c41e2.tar.bz2
scala-cebc49b9f37ec8c8a3befcee6142f9c0590c41e2.zip
Make AnyValManifest not a sealed class.
Scala+GWT has a whole new hierarchy of Manifests that does not use reflection. Every type in new hierarchy is a subtype of a type from old hierarchy. Sealed modifier introduced in 2e92de4cd66532404081eec6b9e82c6f85b51434 breaks this scheme. Removing it so Scala+GWT can compile again.
Diffstat (limited to 'src/library/scala/reflect/Manifest.scala')
-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 be08409636..8bd45c0e33 100644
--- a/src/library/scala/reflect/Manifest.scala
+++ b/src/library/scala/reflect/Manifest.scala
@@ -60,7 +60,7 @@ trait Manifest[T] extends ClassManifest[T] with Equals {
override def hashCode = this.erasure.##
}
-sealed abstract class AnyValManifest[T <: AnyVal](override val toString: String) extends Manifest[T] with Equals {
+abstract class AnyValManifest[T <: AnyVal](override val toString: String) extends Manifest[T] with Equals {
override def <:<(that: ClassManifest[_]): Boolean =
(that eq this) || (that eq Manifest.Any) || (that eq Manifest.AnyVal)
override def canEqual(other: Any) = other match {