Files
kotlin-fork/idea/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt.after
T
2019-11-13 08:37:25 +09:00

19 lines
438 B
Plaintext
Vendored

// WITH_RUNTIME
//DISABLE-ERRORS
enum class E(n: Int) {
A(1) {
override fun foo(x: Int): Int {
TODO("Not yet implemented")
}
}, B(2) {
override fun foo(x: Int): Int {
TODO("Not yet implemented")
}
}, C(3) {
override fun foo(x: Int): Int {
<caret><selection>TODO("Not yet implemented")</selection>
}
};
abstract fun foo(x: Int): Int
}