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
@@ -5,22 +5,22 @@ trait A {
class C : A {
override fun bar(): String {
<selection><caret>return super<A>.bar()</selection>
<selection><caret>return super.bar()</selection>
}
override fun equals(other: Any?): Boolean {
return super<A>.equals(other)
return super.equals(other)
}
override fun foo(value: String): Int {
return super<A>.foo(value)
return super.foo(value)
}
override fun hashCode(): Int {
return super<A>.hashCode()
return super.hashCode()
}
override fun toString(): String {
return super<A>.toString()
return super.toString()
}
}