8e061c9ec1
#KT-12290 Fixed (cherry picked from commit 6274c6b)
16 lines
407 B
Plaintext
Vendored
16 lines
407 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
//DISABLE-ERRORS
|
|
enum class E {
|
|
A {
|
|
override val foo: Int
|
|
get() = throw UnsupportedOperationException()
|
|
}, B {
|
|
override val foo: Int
|
|
get() = throw UnsupportedOperationException()
|
|
}, C {
|
|
override val foo: Int
|
|
get() = <caret><selection>throw UnsupportedOperationException()</selection>
|
|
};
|
|
|
|
abstract val foo: Int
|
|
} |