Files
kotlin-fork/idea/testData/intentions/replaceSingleLineLetIntention/invokeCall4.kt
T
Toshiaki Kameyama e0aeb8f7ec Remove redundant let: rename invoke call
#KT-29556 Fixed
2019-03-01 11:31:07 +03:00

9 lines
142 B
Kotlin
Vendored

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