diff options
author | Martin Odersky <odersky@gmail.com> | 2011-02-21 18:32:06 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-02-21 18:32:06 +0000 |
commit | d610e36fa53fcd8b6361293936af057b8563c33b (patch) | |
tree | a28747cc29fc1d91b506aa474fb853521ed1224d /test/files/run/t498.scala | |
parent | 3621100820d0541e4863ceed8523b887894069e1 (diff) | |
download | scala-d610e36fa53fcd8b6361293936af057b8563c33b.tar.gz scala-d610e36fa53fcd8b6361293936af057b8563c33b.tar.bz2 scala-d610e36fa53fcd8b6361293936af057b8563c33b.zip |
Renamed Application to App.
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 +} |