diff options
Diffstat (limited to 'test/files/run/t498.scala')
-rw-r--r-- | test/files/run/t498.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t498.scala b/test/files/run/t498.scala index 50be317c4c..b4ede951f0 100644 --- a/test/files/run/t498.scala +++ b/test/files/run/t498.scala @@ -1,5 +1,5 @@ -object Test extends Application { +object Test extends App { // the function passed to flatMap produces lots of empty streams, but this should not overflow the stack val res = Stream.from(1).flatMap(i => if (i < 3000) Stream.empty else List(1)) println(res take 42 force) -}
\ No newline at end of file +} |