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

9 lines
150 B
Kotlin
Vendored

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