Files
kotlin-fork/idea/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt.after
T
2015-12-25 18:50:37 +03:00

16 lines
401 B
Plaintext
Vendored

// WITH_RUNTIME
//DISABLE-ERRORS
enum class E(n: Int) {
A(1) {
override val foo: Int
get() = throw UnsupportedOperationException()
}, B(2) {
override val foo: Int
get() = throw UnsupportedOperationException()
}, C(3) {
override val foo: Int
get() = throw UnsupportedOperationException()
};
abstract val <caret>foo: Int
}