Files
2024-07-29 10:03:19 +00:00

16 lines
349 B
Plaintext

// FIR_IDENTICAL
abstract class A {
abstract override fun hashCode(): Int
}
interface I
class B : A(), I { // Any:hashCode() (available via I) is not an option
override fun hashCode(): Int {
TODO("Not yet implemented")
}
}
// MEMBER: "hashCode(): Int"
// MEMBER: "equals(other: Any?): Boolean"
// MEMBER: "toString(): String"