Files
kotlin-fork/idea/testData/intentions/implementAbstractMember/property/implementAll.kt.after
T
2015-12-25 18:50:37 +03:00

26 lines
426 B
Plaintext
Vendored

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