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

9 lines
146 B
Kotlin
Vendored

// WITH_RUNTIME
// PROBLEM: none
fun foo(s: String, i: Int) = s.length + i
fun test() {
val s = ""
s.let<caret> { foo(it, it.length) }
}