From 991c819cb54c40fbc0553a82bb4450ced648c61d Mon Sep 17 00:00:00 2001 From: Tiark Rompf Date: Wed, 21 Oct 2009 21:17:09 +0000 Subject: built new starr and fixed test cases --- test/files/run/t2074_2.scala | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'test/files/run/t2074_2.scala') diff --git a/test/files/run/t2074_2.scala b/test/files/run/t2074_2.scala index 24fa6c7601..7d1d8181d8 100644 --- a/test/files/run/t2074_2.scala +++ b/test/files/run/t2074_2.scala @@ -1,13 +1,14 @@ -import scala.collection.immutable.Vector -import scala.collection.VectorView +// replaced all occurrences of 'Vector' with 'IndexedSeq' +import scala.collection.immutable.IndexedSeq +import scala.collection.IndexedSeqView object Test { - val v = new VectorView[Int, Vector[Int]] { - def underlying = Vector(1,2,3) + val v = new IndexedSeqView[Int, IndexedSeq[Int]] { + def underlying = IndexedSeq(1,2,3) def apply(idx: Int) = underlying(idx) def length = underlying.length } - val w = Vector(1, 2, 3).view + val w = IndexedSeq(1, 2, 3).view def main(args: Array[String]): Unit = { println(v) -- cgit v1.2.3