Redundant companion reference: fix false positive with Java synthetic property

#KT-33771 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-10-03 18:54:51 +09:00
committed by Dmitry Gridin
parent d72e55d1b7
commit 89180e2650
14 changed files with 126 additions and 2 deletions
@@ -0,0 +1,11 @@
// PROBLEM: none
class Foo : Bar() {
fun test() {
<caret>Companion.bar = "baz"
}
companion object {
var bar: String = "bar"
}
}