summaryrefslogtreecommitdiff
path: root/test/files/pos/spec-List.scala
diff options
context:
space:
mode:
authorTiark Rompf <tiark.rompf@epfl.ch>2009-10-21 21:17:09 +0000
committerTiark Rompf <tiark.rompf@epfl.ch>2009-10-21 21:17:09 +0000
commit991c819cb54c40fbc0553a82bb4450ced648c61d (patch)
treef56e3dcf937a5283ce8ed9a251d3bf1e5de24abc /test/files/pos/spec-List.scala
parent2816f2e6ce51206b3b5bdb1367203bf688625cb6 (diff)
downloadscala-991c819cb54c40fbc0553a82bb4450ced648c61d.tar.gz
scala-991c819cb54c40fbc0553a82bb4450ced648c61d.tar.bz2
scala-991c819cb54c40fbc0553a82bb4450ced648c61d.zip
built new starr and fixed test cases
Diffstat (limited to 'test/files/pos/spec-List.scala')
-rw-r--r--test/files/pos/spec-List.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/spec-List.scala b/test/files/pos/spec-List.scala
index b746eca44b..2a1d11b8d5 100644
--- a/test/files/pos/spec-List.scala
+++ b/test/files/pos/spec-List.scala
@@ -29,7 +29,7 @@ sealed abstract class List[@specialized +A] extends LinearSeq[A]
with LinearSeqLike[A, List[A]] {
override def companion: GenericCompanion[List] = List
- import scala.collection.{Iterable, Traversable, Seq, Vector}
+ import scala.collection.{Iterable, Traversable, Seq, IndexedSeq}
/** Returns true if the list does not contain any elements.
* @return <code>true</code>, iff the list is empty.
@@ -494,7 +494,7 @@ final case class ::[@specialized B](private var hd: B, private[scala] var tl: Li
*/
object List extends SeqFactory[List] {
- import collection.{Iterable, Seq, Vector}
+ import collection.{Iterable, Seq, IndexedSeq}
implicit def builderFactory[A]: CanBuildFrom[Coll, A, List[A]] =
new GenericCanBuildFrom[A] {