diff options
author | Paul Phillips <paulp@improving.org> | 2010-11-27 22:53:27 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-11-27 22:53:27 +0000 |
commit | 3e3e3564ca2771b0946c9c8b35a6a393f4330354 (patch) | |
tree | b7d246cdce7cebf2d937f9bc013cd5c26c57b7b8 | |
parent | 25757de1db52311a94ed2672639c0f09fc28c31a (diff) | |
download | scala-3e3e3564ca2771b0946c9c8b35a6a393f4330354.tar.gz scala-3e3e3564ca2771b0946c9c8b35a6a393f4330354.tar.bz2 scala-3e3e3564ca2771b0946c9c8b35a6a393f4330354.zip |
Followed up on the claim that wrapArray can be ...
Followed up on the claim that wrapArray can be removed. No review.
-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) } + |