diff options
Diffstat (limited to 'test/files/run/tuples.scala')
-rw-r--r-- | test/files/run/tuples.scala | 2 |
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 |