8cf965db7e
moves lambda functions in function calls inside and outside of the
parenthesis: foo({ it }) <-> foo() { it }
8 lines
94 B
Plaintext
8 lines
94 B
Plaintext
// IS_APPLICABLE: true
|
|
fun foo() {
|
|
bar({ it })
|
|
}
|
|
|
|
fun bar(b: Int->Int) {
|
|
return b(a)
|
|
} |