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,8 @@
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
operator fun invoke() {}
|
||||
}
|
||||
|
||||
fun foo(a: A) {
|
||||
a.<caret>let { b -> b.invoke() }
|
||||
}
|
||||
Reference in New Issue
Block a user