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

9 lines
134 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
class A {
operator fun invoke() {}
}
fun foo(a: A) {
(1 to a).<caret>let { (i, b) -> b() }
}