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