diff options
author | Martin Odersky <odersky@gmail.com> | 2016-02-16 17:17:40 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-02-16 17:17:40 +0100 |
commit | 4ceb3e7708f49b5d97af770dba226ca5a9c93c38 (patch) | |
tree | 87a1771b6c4f042a692242cbd3947481b6b47d4e /tests/pos/function-arity.scala | |
parent | 17296763448bf86c9f95b1458e5722b9829e8b3e (diff) | |
download | dotty-4ceb3e7708f49b5d97af770dba226ca5a9c93c38.tar.gz dotty-4ceb3e7708f49b5d97af770dba226ca5a9c93c38.tar.bz2 dotty-4ceb3e7708f49b5d97af770dba226ca5a9c93c38.zip |
Fix pos test
Former test no longer allowed after conforms/compatible change.
Diffstat (limited to 'tests/pos/function-arity.scala')
-rw-r--r-- | tests/pos/function-arity.scala | 2 |
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 |