blob: 40fbc9e57546aa8a238ff4e47eb2121fea58d156 [file]
// If we generate equals/hashCode/toString in all interfaces, there will be too much bytecode
interface A {
fun foo(): Number = 42
}
interface B : A
class C : B {
override fun foo(): Int = super.foo() as Int
}
// 0 equals
// 0 hashCode
// 0 toString