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,6 +1,6 @@
val Int.getter: Int
get() {
val extFun = { Int.() ->
val extFun: Int.() -> Int = {
this@getter
}
return this@getter.extFun()
@@ -10,7 +10,7 @@ val Int.getter: Int
var Int.setter: Int
get() = 1
set(i: Int) {
val extFun = { Int.() ->
val extFun: Int.() -> Int = {
this@setter
}
this@setter.extFun()