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

6 lines
120 B
Kotlin
Vendored

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