Files
kotlin-fork/idea/testData/refactoring/introduceVariable/FunctionLiteral.kt.after
T
2015-11-16 11:29:59 +03:00

5 lines
129 B
Plaintext
Vendored

// WITH_RUNTIME
fun foo(c : Collection<String>){
val predicate: (String) -> Boolean = { it; false }
c.filter(predicate)
}