Files
2023-10-10 13:38:00 +00:00

25 lines
353 B
Kotlin
Vendored

package test
enum class E {
A {
override val foo: Int = 65
override fun bar() {
println(foo)
}
},
B {
override val foo: Int? = null
override fun bar() {
println("Nothing to see here!")
}
};
abstract val foo: Int?
abstract fun bar()
}
// class: test/E