From 3e3e3564ca2771b0946c9c8b35a6a393f4330354 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 27 Nov 2010 22:53:27 +0000 Subject: Followed up on the claim that wrapArray can be ... Followed up on the claim that wrapArray can be removed. No review. --- src/library/scala/LowPriorityImplicits.scala | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/library') 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) } + -- cgit v1.2.3