Override members does not generate qualified super when not needed

This commit is contained in:
Valentin Kipyatkov
2015-08-25 20:32:07 +03:00
parent dd6702b832
commit 40638de67c
28 changed files with 92 additions and 63 deletions

View File

@@ -4,19 +4,19 @@ interface I {
class C : A(), I {
override fun equals(other: Any?): Boolean {
<selection><caret>return super<A>.equals(other)</selection>
<selection><caret>return super.equals(other)</selection>
}
override fun hashCode(): Int {
return super<A>.hashCode()
return super.hashCode()
}
override fun toString(): String {
return super<A>.toString()
return super.toString()
}
override fun x() {
super<A>.x()
super.x()
}
override fun z() {