Permalink
Browse files

Added an additional test case rather than leaving it in my REPL.

  • Loading branch information...
jsuereth committed May 9, 2012
1 parent a516098 commit 67b95ceef906e72574161fd85d6f5928ec83161a
Showing with 4 additions and 1 deletion.
  1. +4 −1 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[_,_]])
}

0 comments on commit 67b95ce

Please sign in to comment.