Files
kotlin-fork/idea/testData/resolve/partialBodyResolve/LambdaInCurrentStatement.dump
T
Valentin Kipyatkov 4cd7193047 KT-11018 Ctrl + Mouse Hover shows a var as val
#KT-11018 Fixed
2016-02-13 10:20:20 +03:00

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'
}
}
}