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

9 lines
280 B
Kotlin
Vendored

// WITH_RUNTIME
// PROBLEM: none
// This should be reported. However, in order to avoid too complicate logic, the intention ignore this case.
import java.util.*
fun baz2(foo: List<String>) {
foo.let<caret> { it.binarySearch("", Comparator<kotlin.String> { o1, o2 -> 0 }) }
}