mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
or is a Java method from a Kotlin built-in class (transitively). https://github.com/Kotlin/KEEP/blob/master/proposals/jdk-dependent-built-ins.md#backward-compatibility-of-overrides
14 lines
325 B
Kotlin
Vendored
14 lines
325 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN
|
|
|
|
interface IBase : Map<String, String>
|
|
|
|
interface TestDerivedInterfaceHiding : IBase {
|
|
fun replace(key: String, value: String): String?
|
|
}
|
|
|
|
interface TestDerivedInterfaceDefault : IBase {
|
|
fun replace(key: String, value: String): String? = TODO()
|
|
}
|
|
|
|
|