diff options
author | Martin Odersky <odersky@gmail.com> | 2009-05-08 16:33:15 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-05-08 16:33:15 +0000 |
commit | 14a631a5fec42d04d0723355a0b93e482b5e4662 (patch) | |
tree | f639c2a22e89e193b9abea391993ecfd4d5326ee /test/files/pos/bug927.scala | |
parent | 2379eb4ebbd28c8892b50a1d9fa8a687099eea4d (diff) | |
download | scala-14a631a5fec42d04d0723355a0b93e482b5e4662.tar.gz scala-14a631a5fec42d04d0723355a0b93e482b5e4662.tar.bz2 scala-14a631a5fec42d04d0723355a0b93e482b5e4662.zip |
massive new collections checkin.
Diffstat (limited to 'test/files/pos/bug927.scala')
-rw-r--r-- | test/files/pos/bug927.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/bug927.scala b/test/files/pos/bug927.scala index 1a906cd9bc..5887aba255 100644 --- a/test/files/pos/bug927.scala +++ b/test/files/pos/bug927.scala @@ -2,7 +2,7 @@ object Test { def sum(stream: Stream[Int]): Int = stream match { - case Stream.empty => 0 + case Stream.Empty => 0 case Stream.cons(hd, tl) => hd + sum(tl) } val str: Stream[Int] = Stream.fromIterator(List(1,2,3).elements) |