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