Redundant companion reference: fix false positive when companion has same name member as companion name
#KT-36707 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
98ce49ba73
commit
19093e2e02
+12
@@ -0,0 +1,12 @@
|
||||
class C {
|
||||
companion object foo {
|
||||
fun foo() {}
|
||||
|
||||
operator fun invoke(i: Int) {
|
||||
}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
<caret>foo.foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user