Redundant companion reference: fix false positive with overridden Java getter (#2935)
#KT-33771 Fixed
This commit is contained in:
committed by
GitHub
parent
9f7af4b58d
commit
2f19ad7bdc
+9
@@ -0,0 +1,9 @@
|
||||
class Foo : Bar() {
|
||||
fun test() {
|
||||
<caret>Companion.bar = "baz"
|
||||
}
|
||||
|
||||
companion object {
|
||||
var bar: String = "bar"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user