Fixed KT-4892 Override method generates redundant type arguments in call to super

#KT-4892 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-12-05 07:22:42 +03:00
parent 4b9bcce07a
commit 9f845f0de4
21 changed files with 93 additions and 47 deletions
@@ -9,7 +9,7 @@ class C(t :T) : T by t {
}
override fun equals(other: Any?): Boolean {
return super<T>.equals(other)
return super.equals(other)
}
override fun foo() {
@@ -17,11 +17,11 @@ class C(t :T) : T by t {
}
override fun hashCode(): Int {
return super<T>.hashCode()
return super.hashCode()
}
override fun toString(): String {
return super<T>.toString()
return super.toString()
}
}