Files
kotlin-fork/idea/testData/intentions/implementAbstractMember/property/implementAll.kt.after
T
2019-11-13 08:37:25 +09:00

26 lines
429 B
Plaintext
Vendored

// WITH_RUNTIME
// DISABLE-ERRORS
interface T<X> {
val foo: X
}
class U : T<String> {
override val foo: String
get() = TODO("Not yet implemented")
}
class V : T<Int> {
override val foo: Int
get() = <caret><selection>TODO("Not yet implemented")</selection>
}
class Z : T<Int> by V() {
}
class W : T<Boolean> {
override val foo: Boolean
get() = throw UnsupportedOperationException()
}