summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/IndexedSeq.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-08-16 16:46:15 -0700
committerPaul Phillips <paulp@improving.org>2012-08-16 16:46:42 -0700
commit0fc0038e33b629efcaa0aa314b0e69419c116777 (patch)
tree51ea2b053fac4495305c92e5d34677a3563af471 /src/library/scala/collection/immutable/IndexedSeq.scala
parent0308ae88026a4a8d427d1a9156c31c0ff8dd2561 (diff)
downloadscala-0fc0038e33b629efcaa0aa314b0e69419c116777.tar.gz
scala-0fc0038e33b629efcaa0aa314b0e69419c116777.tar.bz2
scala-0fc0038e33b629efcaa0aa314b0e69419c116777.zip
Modified SI-6150 fix to use intended ReusableCBF.
I also realized it didn't have to be lazy, and made it so.
Diffstat (limited to 'src/library/scala/collection/immutable/IndexedSeq.scala')
-rw-r--r--src/library/scala/collection/immutable/IndexedSeq.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/scala/collection/immutable/IndexedSeq.scala b/src/library/scala/collection/immutable/IndexedSeq.scala
index 3abac932e6..68f642b558 100644
--- a/src/library/scala/collection/immutable/IndexedSeq.scala
+++ b/src/library/scala/collection/immutable/IndexedSeq.scala
@@ -36,6 +36,7 @@ object IndexedSeq extends SeqFactory[IndexedSeq] {
def length = buf.length
def apply(idx: Int) = buf.apply(idx)
}
- implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, IndexedSeq[A]] = IndexedSeq.ReusableCBF.asInstanceOf[GenericCanBuildFrom[A]]
+ implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, IndexedSeq[A]] =
+ scala.collection.IndexedSeq.ReusableCBF.asInstanceOf[GenericCanBuildFrom[A]]
def newBuilder[A]: Builder[A, IndexedSeq[A]] = Vector.newBuilder[A]
}