summaryrefslogtreecommitdiff
path: root/test/files/run/tuples.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/tuples.scala')
-rw-r--r--test/files/run/tuples.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/tuples.scala b/test/files/run/tuples.scala
index 857b166917..b03167adee 100644
--- a/test/files/run/tuples.scala
+++ b/test/files/run/tuples.scala
@@ -13,9 +13,9 @@ object Test extends Application {
def params = (2, "xxx", 3.14159) // (*****)
- tupled(&func)(params) // call the function with all the params at once
+ tupled(func _)(params) // call the function with all the params at once
func(2, "xxx", 3.14159) // the same call
- (&func).apply(2, "xxx", 3.14159) // the same call
+ (func _).apply(2, "xxx", 3.14159) // the same call
// Composing a tuple
def t = (1, "Hello", false)