Remove redundant let: rename invoke call

#KT-29556 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-02-01 19:47:47 +09:00
committed by Mikhail Glukhikh
parent df3953f03a
commit e0aeb8f7ec
10 changed files with 98 additions and 1 deletions
@@ -0,0 +1,8 @@
// WITH_RUNTIME
class A {
operator fun invoke() {}
}
fun foo(a: A) {
a.<caret>let { b -> b.invoke() }
}