diff options
author | Tiark Rompf <tiark.rompf@epfl.ch> | 2009-10-30 07:51:23 +0000 |
---|---|---|
committer | Tiark Rompf <tiark.rompf@epfl.ch> | 2009-10-30 07:51:23 +0000 |
commit | 6f7723bea494da2616edc1877d2402d356787512 (patch) | |
tree | 071153dbb7d28cfcdf4c9cc69d8a1f41593fcfcd /test/files/pos/spec-List.scala | |
parent | 6ae7f2cbc183d57ba7d00fe790889f359c7b3a11 (diff) | |
download | scala-6f7723bea494da2616edc1877d2402d356787512.tar.gz scala-6f7723bea494da2616edc1877d2402d356787512.tar.bz2 scala-6f7723bea494da2616edc1877d2402d356787512.zip |
separated Vector impl from IndexedSeq
Diffstat (limited to 'test/files/pos/spec-List.scala')
-rw-r--r-- | test/files/pos/spec-List.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/spec-List.scala b/test/files/pos/spec-List.scala index 039599eb00..17291fae56 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, IndexedSeq} + import scala.collection.{Iterable, Traversable, Seq} /** 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, IndexedSeq} + import collection.{Iterable, Seq} implicit def builderFactory[A]: CanBuildFrom[Coll, A, List[A]] = new GenericCanBuildFrom[A] { |