diff options
author | Martin Odersky <odersky@gmail.com> | 2007-03-14 14:43:14 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-03-14 14:43:14 +0000 |
commit | 6e53e14f4d2a6f84645b4d22000e034e56e6492c (patch) | |
tree | b33f488a8dfae53e0b776ce84384618a3bcd2276 /test | |
parent | a1e615c9253d9caad1385e163e271510c3c798b5 (diff) | |
download | scala-6e53e14f4d2a6f84645b4d22000e034e56e6492c.tar.gz scala-6e53e14f4d2a6f84645b4d22000e034e56e6492c.tar.bz2 scala-6e53e14f4d2a6f84645b4d22000e034e56e6492c.zip |
partial fix of bug 999
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/bug1000.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/bug1000.scala b/test/files/pos/bug1000.scala new file mode 100644 index 0000000000..c6426401ae --- /dev/null +++ b/test/files/pos/bug1000.scala @@ -0,0 +1,4 @@ +object Test extends Application { + val xs = Array(1, 2, 3) + Console.println(xs.filter(_ >= 0).length) +} |