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
@@ -0,0 +1,11 @@
|
||||
// PROBLEM: none
|
||||
|
||||
class Foo : Bar() {
|
||||
override fun getBar(): String {
|
||||
return <caret>Companion.bar
|
||||
}
|
||||
|
||||
companion object {
|
||||
val bar: String = "bar"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user