Files
kotlin-fork/idea/testData/inspectionsLocal/complexRedundantLet/lambdaWithBinaryExpression.kt
T

6 lines
120 B
Kotlin
Vendored

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