Files
kotlin-fork/idea/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression2.kt
T
2019-06-25 14:37:04 +07:00

6 lines
128 B
Kotlin
Vendored

// WITH_RUNTIME
// PROBLEM: none
fun baz(foo: String) {
foo.let<caret> { it.length + "".indexOfLast { c -> c == it[0] } }
}