Forbid calls of Any functions via super if they are overridden as abstract
#KT-38078 Fixed
This commit is contained in:
+1
-1
@@ -22,5 +22,5 @@ abstract class A {
|
||||
interface I
|
||||
|
||||
class B : A(), I { // I is necessary here
|
||||
override fun hashCode() = super.hashCode()
|
||||
override fun hashCode() = super.<!ABSTRACT_SUPER_CALL!>hashCode<!>()
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -22,5 +22,5 @@ abstract class A {
|
||||
interface I
|
||||
|
||||
class B : A(), I { // I is necessary here
|
||||
override fun hashCode() = super.hashCode()
|
||||
override fun hashCode() = super.<!ABSTRACT_SUPER_CALL!>hashCode<!>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user