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
5 lines
199 B
Kotlin
Vendored
5 lines
199 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN
|
|
|
|
class MyHashMap : java.util.HashMap<String, String>() {
|
|
fun getOrDefault(key: String, defaultValue: String): String = TODO()
|
|
} |