28 lines
509 B
Plaintext
Vendored
28 lines
509 B
Plaintext
Vendored
interface T {
|
|
fun foo()
|
|
fun bar()
|
|
}
|
|
|
|
class C(t :T) : T by t {
|
|
override fun bar() {
|
|
<selection><caret>throw UnsupportedOperationException()</selection>
|
|
}
|
|
|
|
override fun equals(other: Any?): Boolean {
|
|
return super.equals(other)
|
|
}
|
|
|
|
override fun foo() {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return super.hashCode()
|
|
}
|
|
|
|
override fun toString(): String {
|
|
return super.toString()
|
|
}
|
|
}
|
|
|
|
// KT-5103 |