KT-8542 Override dialog: only one class from hierarchy is shown

#KT-8542 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-07-27 16:48:31 +03:00
parent 29379c061a
commit 63dc843c71
14 changed files with 439 additions and 310 deletions
@@ -0,0 +1,29 @@
interface I {
open fun foo(){}
}
open class A {
open fun foo(){}
}
class C : A(), I {
override fun equals(other: Any?): Boolean {
<selection><caret>return super<A>.equals(other)</selection>
}
override fun foo() {
super<A>.foo()
}
override fun foo() {
super<I>.foo()
}
override fun hashCode(): Int {
return super<A>.hashCode()
}
override fun toString(): String {
return super<A>.toString()
}
}