summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-07-27 12:49:50 +0000
committermichelou <michelou@epfl.ch>2005-07-27 12:49:50 +0000
commit503767d7b5ed74f40208157d7850cea6f26e8403 (patch)
treefe2e0a4c724dffa59c00fee169d175b86c42f5bb /test
parentea4a4fd3b2dbd95551d7925ec7d118ccd56420cb (diff)
downloadscala-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.scala2
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;