Files
kotlin-fork/idea/testData/intentions/implementAbstractMember/property/enumEntriesWithArgs.kt.after
T
Alexey Sedunov 8e061c9ec1 Implement Abstract Member: Navigate to the generated declaration
#KT-12290 Fixed
(cherry picked from commit 6274c6b)
2016-06-28 15:07:23 +03:00

16 lines
424 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() = <caret><selection>throw UnsupportedOperationException()</selection>
};
abstract val foo: Int
}