From 4a727f3b01d0fa27ef51f7dba472116e021e3445 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 25 Sep 2009 16:20:13 +0000 Subject: Collections refactoring. --- test/files/run/t2074_2.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (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 6aca6c3f60..24fa6c7601 100644 --- a/test/files/run/t2074_2.scala +++ b/test/files/run/t2074_2.scala @@ -1,5 +1,5 @@ import scala.collection.immutable.Vector -import scala.collection.generic.VectorView +import scala.collection.VectorView object Test { val v = new VectorView[Int, Vector[Int]] { @@ -7,8 +7,11 @@ object Test { def apply(idx: Int) = underlying(idx) def length = underlying.length } + val w = Vector(1, 2, 3).view def main(args: Array[String]): Unit = { + println(v) + println(w) println(go) } def go = v zip v -- cgit v1.2.3