Explicit this inspection: fix false positive with subclass and extension

#KT-27550 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-06-21 17:10:31 +09:00
committed by Mikhail Glukhikh
parent 1dbe487077
commit 2efbc6e914
6 changed files with 67 additions and 5 deletions
@@ -0,0 +1,12 @@
// WITH_RUNTIME
// PROBLEM: none
open class Foo
class SubFoo : Foo()
val Foo.bar: String get() = ""
fun SubFoo.func() = Foo().apply {
<caret>this@func.bar
}