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

9 lines
129 B
Kotlin
Vendored

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