Explicit this inspection: fix false negative with local variable

#KT-30136 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-07-10 13:44:05 +09:00
committed by Mikhail Glukhikh
parent eb469b924f
commit 0ec18b4a33
7 changed files with 83 additions and 1 deletions
@@ -0,0 +1,14 @@
// PROBLEM: none
class Some {
operator fun invoke() {}
}
class Other {
fun foo() {
val a = Some()
<caret>this.a()
a()
}
fun a() {}
}