diff options
author | michelou <michelou@epfl.ch> | 2005-07-27 12:49:50 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-07-27 12:49:50 +0000 |
commit | 503767d7b5ed74f40208157d7850cea6f26e8403 (patch) | |
tree | fe2e0a4c724dffa59c00fee169d175b86c42f5bb /test | |
parent | ea4a4fd3b2dbd95551d7925ec7d118ccd56420cb (diff) | |
download | scala-503767d7b5ed74f40208157d7850cea6f26e8403.tar.gz scala-503767d7b5ed74f40208157d7850cea6f26e8403.tar.bz2 scala-503767d7b5ed74f40208157d7850cea6f26e8403.zip |
- updated code for deprecated def-parameters.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/lists.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/lists.scala b/test/files/run/lists.scala index fe3461891e..8911e83b26 100644 --- a/test/files/run/lists.scala +++ b/test/files/run/lists.scala @@ -81,7 +81,7 @@ object Test { ys1.length + ys2.length } - def check_success[A](name: String, def closure: A, expected: A): Unit = { + def check_success[A](name: String, closure: => A, expected: A): Unit = { System.out.print("test " + name); try { val actual: A = closure; |