aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/pos/function-arity.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pos/function-arity.scala b/tests/pos/function-arity.scala
index ec531c0ef..9ba78105b 100644
--- a/tests/pos/function-arity.scala
+++ b/tests/pos/function-arity.scala
@@ -11,7 +11,7 @@ object Test {
def unary[T](a: T, b: T, f: ((T, T)) => T): T = f((a, b))
unary(1, 2, (x, y) => x)
unary(1, 2, (x: Int, y) => x)
- unary(1, 2, (x: Int, y: Float) => x)
+ unary(1, 2, (x: Int, y: Int) => x)
val xs = List(1, 2, 3)
def f(x: Int, y: Int) = x * y