Files
kotlin-fork/idea/testData/refactoring/introduceVariable/FunctionLiteralWithExtraArgs.kt.after
T
2016-01-22 05:54:38 +03:00

5 lines
156 B
Plaintext
Vendored

// WITH_RUNTIME
fun foo(c : Collection<String>){
val predicate: (String) -> Boolean = { it.length > 1 }
c.filterTo(ArrayList<String>(), predicate)
}