Files
kotlin-fork/analysis/analysis-api/testData/components/scopeProvider/declaredMemberScope/enumClassWithAbstractMembers.kt
T
2023-10-10 13:37:59 +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