8e061c9ec1
#KT-12290 Fixed (cherry picked from commit 6274c6b)
17 lines
361 B
Plaintext
Vendored
17 lines
361 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
// DISABLE-ERRORS
|
|
interface T<X> {
|
|
fun foo(x: X): X
|
|
}
|
|
|
|
enum class E : T<Int> {
|
|
A, B, C;
|
|
|
|
override fun foo(x: Int): Int {
|
|
<caret><selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
|
|
}
|
|
|
|
val bar = 1
|
|
|
|
fun baz() = 2
|
|
} |