Files
kotlin-fork/idea/testData/formatter/SingleLineFunctionLiteral.after.inv.kt
T
2013-09-24 06:58:40 -07:00

8 lines
188 B
Kotlin

fun test(some: (Int) -> Int) {
}
fun foo() = test() {it}
val function = test {(a: Int) -> a}
val function1 = test {a : Int -> a}
// SET_TRUE: INSERT_WHITESPACES_IN_SIMPLE_ONE_LINE_METHOD