Remove redundant let: rename invoke call
#KT-29556 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
df3953f03a
commit
e0aeb8f7ec
@@ -0,0 +1,9 @@
|
||||
// IS_APPLICABLE: false
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
operator fun invoke(a: A, i: Int) {}
|
||||
}
|
||||
|
||||
fun foo(a: A) {
|
||||
a.<caret>let { it(it, 1) }
|
||||
}
|
||||
Reference in New Issue
Block a user