Files
kotlin-fork/j2k/testData/fileOrElement/enum/companionObject.kt
T

19 lines
210 B
Kotlin
Vendored

enum class TestEnum {
A,
B;
companion object {
fun parse(): TestEnum {
return A
}
}
}
internal class Go {
fun fn() {
val x = TestEnum.parse()
}
}