Skip to content

Commit 4ceb3e7

Browse files
committed
Fix pos test
Former test no longer allowed after conforms/compatible change.
1 parent 1729676 commit 4ceb3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pos/function-arity.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ object Test {
1111
def unary[T](a: T, b: T, f: ((T, T)) => T): T = f((a, b))
1212
unary(1, 2, (x, y) => x)
1313
unary(1, 2, (x: Int, y) => x)
14-
unary(1, 2, (x: Int, y: Float) => x)
14+
unary(1, 2, (x: Int, y: Int) => x)
1515

1616
val xs = List(1, 2, 3)
1717
def f(x: Int, y: Int) = x * y

0 commit comments

Comments
 (0)