summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-01-09 23:28:14 +0100
committerJason Zaugg <jzaugg@gmail.com>2014-01-09 23:28:14 +0100
commitf5e35ecf818b1935bd00aaea009854fd43a458a8 (patch)
tree3b7d0921b2c7b3281e14094ff7baeba8af02b289 /src/library
parent4e4c15177b92ef25f098277dcce3f874c24640b2 (diff)
downloadscala-f5e35ecf818b1935bd00aaea009854fd43a458a8.tar.gz
scala-f5e35ecf818b1935bd00aaea009854fd43a458a8.tar.bz2
scala-f5e35ecf818b1935bd00aaea009854fd43a458a8.zip
Remove temporary binary compat scaffolding from AbstractPartiionFun.
These were only needed during the transition period when we removed specialization on AnyRef from `AbstractPartialFunction`. It's time to cast away the crutches.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/runtime/AbstractPartialFunction.scala12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/library/scala/runtime/AbstractPartialFunction.scala b/src/library/scala/runtime/AbstractPartialFunction.scala
index 7129f22f60..986cd0390f 100644
--- a/src/library/scala/runtime/AbstractPartialFunction.scala
+++ b/src/library/scala/runtime/AbstractPartialFunction.scala
@@ -35,15 +35,3 @@ abstract class AbstractPartialFunction[@specialized(scala.Int, scala.Long, scala
// let's not make it final so as not to confuse anyone
/*final*/ def apply(x: T1): R = applyOrElse(x, PartialFunction.empty)
}
-
-// Manual stand-ins for formerly specialized variations.
-// Not comprehensive, only sufficent to run scala-check built scala 2.11.0-M5
-// TODO Scala 2.10.0.M6 Remove this once scalacheck is published against M6.
-private[runtime] abstract class AbstractPartialFunction$mcIL$sp extends scala.runtime.AbstractPartialFunction[Any, Int] {
- override def apply(x: Any): Int = apply$mcIL$sp(x)
- def apply$mcIL$sp(x: Any): Int = applyOrElse(x, PartialFunction.empty)
-}
-private[runtime] abstract class AbstractPartialFunction$mcFL$sp extends scala.runtime.AbstractPartialFunction[Any, Float] {
- override def apply(x: Any): Float = apply$mcIL$sp(x)
- def apply$mcIL$sp(x: Any): Float = applyOrElse(x, PartialFunction.empty)
-}