Files
Toshiaki Kameyama 06003b1cc4 Add explicit this: fix false negative on variable call
^KT-39929 Fixed

Original commit: 277ceaaf669dc1dd9ee2c4997360f7c32671deb2

GitOrigin-RevId: 4e3fc1624eff48a2d39312b8c9de16a94444c4fe
2020-11-20 10:34:34 +03:00

12 lines
113 B
Plaintext

class Foo {
operator fun invoke() {}
}
class Bar {
val foo = Foo()
}
fun Bar.test() {
this.foo()
}