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,10 +1,10 @@
fun Array<String>.test1(): Array<String> {
val func = {(i:Int) -> this}
val func = { i:Int -> this}
return func(1)
}
fun Array<String>.test1Nested(): Array<String> {
val func = {(i:Int) -> { this }()}
val func = { i: Int -> { this }()}
return func(1)
}
@@ -71,7 +71,7 @@ fun Array<String>.test4Nested() : Array<String> {
}
fun Array<DoubleArray>.test1(): Array<DoubleArray> {
val func = {(i:Int) -> this}
val func = { i: Int -> this}
return func(1)
}