mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
16 lines
413 B
Plaintext
Vendored
16 lines
413 B
Plaintext
Vendored
Resolve target: value-parameter c: kotlin.collections.Collection<kotlin.String>
|
|
----------------------------------------------
|
|
fun foo(c: Collection<String>): Collection<String> {
|
|
return <caret>c.filter {
|
|
val v = it.length
|
|
val v1 = v * v
|
|
if (v1 > 10) {
|
|
true
|
|
}
|
|
else {
|
|
/* STATEMENT DELETED: println() */
|
|
it[0] == 'a'
|
|
}
|
|
}
|
|
}
|