summaryrefslogtreecommitdiff
path: root/test/files/run/tuples.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2008-05-20 15:43:03 +0000
committermichelou <michelou@epfl.ch>2008-05-20 15:43:03 +0000
commita81ac63831dfbf55c39952ffe9ec94b560308c15 (patch)
treefcc0b5318ced3daa02406fecc77648ff3f81aa86 /test/files/run/tuples.scala
parent17ce6cb275d18e9af4e13d1c552a5ff97fc3d5e8 (diff)
downloadscala-a81ac63831dfbf55c39952ffe9ec94b560308c15.tar.gz
scala-a81ac63831dfbf55c39952ffe9ec94b560308c15.tar.bz2
scala-a81ac63831dfbf55c39952ffe9ec94b560308c15.zip
int -> Int, etc..
Diffstat (limited to 'test/files/run/tuples.scala')
-rw-r--r--test/files/run/tuples.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/tuples.scala b/test/files/run/tuples.scala
index ff1b53fd11..b32c856afe 100644
--- a/test/files/run/tuples.scala
+++ b/test/files/run/tuples.scala
@@ -11,7 +11,7 @@ object Test extends Application {
Console.println("x = " + x + "; y = " + y + "; z = " + z);
}
- sef params = (2, "xxx", 3.14159) // (*****)
+ def params = (2, "xxx", 3.14159) // (*****)
tupled(func _)(params) // call the function with all the params at once
func(2, "xxx", 3.14159) // the same call