"Redundant Companion": Don't suggest if same callable name is in use

So #KT-24425 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-06-06 16:37:27 +03:00
committed by Mikhail Glukhikh
parent a2435ff3b0
commit 5ad98a139d
15 changed files with 252 additions and 2 deletions
@@ -0,0 +1,14 @@
// PROBLEM: none
class Test {
companion object {
val extentionVar = 1
}
fun test() {
<caret>Companion.extentionVar
}
}
val Test.extentionVar: Int
get() = 2