Migrate testdata to new lambda syntax

This commit is contained in:
Stanislav Erokhin
2015-04-03 13:40:07 +03:00
parent b703f59e04
commit 3de0dff575
134 changed files with 263 additions and 277 deletions
@@ -1,9 +1,9 @@
package foo
fun box(): Boolean {
val v1 = {(x: Int) -> x}(2)
val v1 = { x: Int -> x}(2)
val f = {(x: Int) -> x}
val f = { x: Int -> x}
val v2 = (f)(2)
return v1 == 2 && v2 == 2