19 lines
210 B
Kotlin
Vendored
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()
|
|
}
|
|
}
|