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