diff options
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/LowPriorityImplicits.scala | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/library/scala/LowPriorityImplicits.scala b/src/library/scala/LowPriorityImplicits.scala index 1b9a65cdaf..d6a46ff1aa 100644 --- a/src/library/scala/LowPriorityImplicits.scala +++ b/src/library/scala/LowPriorityImplicits.scala @@ -57,17 +57,5 @@ class LowPriorityImplicits { def apply(from: String) = scala.collection.immutable.IndexedSeq.newBuilder[T] def apply() = scala.collection.immutable.IndexedSeq.newBuilder[T] } - - /** Can go away after next newstarr */ - /** Caution - not yet. pos/t1459, pos/t2569, jvm/t1342 all fail without the next line. */ - def wrapArray[T <: AnyRef](xs: Array[T]): WrappedArray[T] = new WrappedArray.ofRef[T](xs) - def wrapArray(xs: Array[Int]): WrappedArray[Int] = new WrappedArray.ofInt(xs) - def wrapArray(xs: Array[Double]): WrappedArray[Double] = new WrappedArray.ofDouble(xs) - def wrapArray(xs: Array[Long]): WrappedArray[Long] = new WrappedArray.ofLong(xs) - def wrapArray(xs: Array[Float]): WrappedArray[Float] = new WrappedArray.ofFloat(xs) - def wrapArray(xs: Array[Char]): WrappedArray[Char] = new WrappedArray.ofChar(xs) - def wrapArray(xs: Array[Byte]): WrappedArray[Byte] = new WrappedArray.ofByte(xs) - def wrapArray(xs: Array[Short]): WrappedArray[Short] = new WrappedArray.ofShort(xs) - def wrapArray(xs: Array[Boolean]): WrappedArray[Boolean] = new WrappedArray.ofBoolean(xs) - def wrapArray(xs: Array[Unit]): WrappedArray[Unit] = new WrappedArray.ofUnit(xs) } + |