Redundant companion reference: Fix false negative in enum entry #KT-27861 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-11-07 21:56:08 +09:00
committed by Mikhail Glukhikh
parent 07ca958ff0
commit 23b9889ebb
4 changed files with 19 additions and 1 deletions
@@ -0,0 +1,7 @@
enum class E(val value: String) {
E1(E.<caret>Companion.foo);
companion object {
const val foo = ""
}
}
@@ -0,0 +1,7 @@
enum class E(val value: String) {
E1(E.foo);
companion object {
const val foo = ""
}
}