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,9 @@
class Foo : Bar() {
fun test(): String {
return <caret>Companion.bar
}
companion object {
val bar: String = "bar"
}
}