summaryrefslogtreecommitdiff
path: root/test/files/pos
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
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')
-rw-r--r--test/files/pos/collectGenericCC.scala2
-rw-r--r--test/files/pos/signatures/Test.java2
-rw-r--r--test/files/pos/spec-List.scala4
3 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/collectGenericCC.scala b/test/files/pos/collectGenericCC.scala
index 099a53d3f5..3d993dabd0 100644
--- a/test/files/pos/collectGenericCC.scala
+++ b/test/files/pos/collectGenericCC.scala
@@ -8,7 +8,7 @@ object Test {
b.result
}
- collect[Int, Vector[Int]](List(1,2,3,4))
+ collect[Int, IndexedSeq[Int]](List(1,2,3,4))
collect[Char, String](List('1','2','3','4'))
collect[Char, Array[Char]](List('1','2','3','4'))
} \ No newline at end of file
diff --git a/test/files/pos/signatures/Test.java b/test/files/pos/signatures/Test.java
index a50ccb9d01..3d1e3756a7 100644
--- a/test/files/pos/signatures/Test.java
+++ b/test/files/pos/signatures/Test.java
@@ -1,4 +1,4 @@
-import scala.collection.mutable.Vector;
+import scala.collection.mutable.IndexedSeq;
import test.Outer;
/* Test correct generation of java signatures. The Outer class should not
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] {