Files
kotlin/compiler/testData/codegen/bytecodeText/interfaces/firstInheritedMethodIsAbstract.kt
2015-09-30 08:19:51 +03:00

14 lines
281 B
Kotlin
Vendored

interface A {
fun foo(): String
}
interface B {
fun foo(): String = "OK"
}
interface C : A, B
// There's no 'foo' in A$DefaultImpls, proguard and other tools may fail if we generate calls to it
// 0 INVOKESTATIC A\$DefaultImpls.foo
// 1 INVOKESTATIC B\$DefaultImpls.foo