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

9 lines
135 B
Kotlin
Vendored

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