Redundant companion reference: fix false positive for class with name Companion #KT-27861 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-11-07 00:09:13 +09:00
committed by Mikhail Glukhikh
parent 4b8f8604f2
commit d0d98dc283
8 changed files with 84 additions and 0 deletions
@@ -0,0 +1,12 @@
// PROBLEM: none
class Test {
fun test() {
<caret>Companion.foo
}
}
class Companion {
companion object {
val foo = ""
}
}