mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
14 lines
281 B
Kotlin
Vendored
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
|