89c39b9762
#KT-13589 Fixed
26 lines
589 B
Plaintext
Vendored
26 lines
589 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
// DISABLE-ERRORS
|
|
interface T<X> {
|
|
val foo: X
|
|
}
|
|
|
|
class U : T<String> {
|
|
override val foo: String
|
|
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
|
|
|
}
|
|
|
|
class V : T<Int> {
|
|
override val foo: Int
|
|
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
|
|
|
}
|
|
|
|
class Z : T<Int> by V() {
|
|
|
|
}
|
|
|
|
class W : T<Boolean> {
|
|
override val foo: Boolean
|
|
get() = throw UnsupportedOperationException()
|
|
} |