Explicit this inspection: fix false positive with subclass and extension
#KT-27550 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
1dbe487077
commit
2efbc6e914
+12
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user