Files
kotlin-fork/idea/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableEnumCompanion3.kt
T
2020-04-16 10:48:06 +02:00

17 lines
216 B
Kotlin
Vendored

// PROBLEM: none
package foo.bar
import foo.bar.MyEnum.*
enum class MyEnum(val id: Int) {
A(1),
B(2);
companion object {
fun baz() = ""
}
}
fun test() {
<caret>MyEnum.Companion.baz()
}