From 67b95ceef906e72574161fd85d6f5928ec83161a Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Tue, 8 May 2012 21:13:07 -0400 Subject: Added an additional test case rather than leaving it in my REPL. --- test/files/run/t5201.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/files/run') diff --git a/test/files/run/t5201.scala b/test/files/run/t5201.scala index a371082797..48aa7ba54c 100644 --- a/test/files/run/t5201.scala +++ b/test/files/run/t5201.scala @@ -1,5 +1,8 @@ object Test extends App { + // First make sure specific types are preserved + val tmp: Vector[Int] = Vector(Vector(1,2), Vector(3,4)).view.flatten.force + + // Now make sure we really get a view val seq = Seq(Seq(1, 2), Seq(3, 4)).view.flatten - Console.println(seq.isInstanceOf[collection.SeqView[_,_]]) } -- cgit v1.2.3