summaryrefslogtreecommitdiff
path: root/src/library/scala/Double.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-01-27 16:30:01 -0800
committerPaul Phillips <paulp@improving.org>2012-01-28 00:43:06 -0800
commite61eff23df977eeed19bfe253b01b69cce47dfa3 (patch)
treeb4db063cc658a51142e03e4e5d1570c0d525321e /src/library/scala/Double.scala
parent0d0cdea28ec142a3e6da7a29b8130138a41ae782 (diff)
downloadscala-e61eff23df977eeed19bfe253b01b69cce47dfa3.tar.gz
scala-e61eff23df977eeed19bfe253b01b69cce47dfa3.tar.bz2
scala-e61eff23df977eeed19bfe253b01b69cce47dfa3.zip
Unsealed AnyVal.
Hacks here and there to allow them to survive at least to erasure. Since nothing is done with them there yet, they inevitably crash and burn a little ways beyond that.
Diffstat (limited to 'src/library/scala/Double.scala')
-rw-r--r--src/library/scala/Double.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Double.scala b/src/library/scala/Double.scala
index 68a1a01299..01414265c4 100644
--- a/src/library/scala/Double.scala
+++ b/src/library/scala/Double.scala
@@ -356,7 +356,7 @@ final class Double extends AnyVal {
*/
def %(x: Double): Double = sys.error("stub")
- def getClass(): Class[Double] = sys.error("stub")
+ override def getClass(): Class[Double] = sys.error("stub")
}
object Double extends AnyValCompanion {