Files
kotlin-fork/idea/testData/refactoring/introduceVariable/FunctionLiteral.kt.after
T
2014-09-10 16:44:46 +04:00

5 lines
127 B
Plaintext

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