Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fa6706d92e6b4fd10bdb26da483b20467cd68a42
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
interfaces
/
noAnyMethodsOnInterfaceInheritance.kt
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