mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 00:21:35 +00:00
Override members does not generate qualified super when not needed
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user