diff options
Diffstat (limited to 'test/files/run/t2147.scala')
-rw-r--r-- | test/files/run/t2147.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t2147.scala b/test/files/run/t2147.scala index 185e617d80..1a1dfddc71 100644 --- a/test/files/run/t2147.scala +++ b/test/files/run/t2147.scala @@ -1,4 +1,4 @@ -object Test extends Application { +object Test extends App { val s: Seq[Int] = Stream.from(1) val res0 = s.map(a => 2).head val res1 = Stream.from(1).flatMap(a => List(1)).head |