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
@@ -2,5 +2,5 @@
// ACTION: Create local variable 'foo'
fun test(n: Int, foo: Int) {
val f: (Int, Int) -> Int = { (a, b) -> foo }
val f: (Int, Int) -> Int = { a, b -> foo }
}
@@ -2,5 +2,5 @@
// ACTION: Create local variable 'foo'
fun test(n: Int, foo: Any) {
val f = { (a: Int, b: Int) -> foo }
val f = { a: Int, b: Int -> foo }
}
@@ -2,5 +2,5 @@
// ACTION: Create local variable 'foo'
fun test(n: Int) {
val f: (Int, Int) -> Int = { (a, b) -> <caret>foo }
val f: (Int, Int) -> Int = { a, b -> <caret>foo }
}
@@ -2,5 +2,5 @@
// ACTION: Create local variable 'foo'
fun test(n: Int) {
val f = { (a: Int, b: Int) -> <caret>foo }
val f = { a: Int, b: Int -> <caret>foo }
}