1bbcae5ed2
We cannot call lazy resolve to STATUS phase from scopes as scopes may be accessed on a STATUS phase or earlier ^KT-54890 ^KTIJ-23587 fixed
20 lines
614 B
Kotlin
Vendored
20 lines
614 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN
|
|
|
|
abstract class Test1 : Map<String, String> {
|
|
fun <!VIRTUAL_MEMBER_HIDDEN!>containsKey<!>(key: String): Boolean = TODO()
|
|
|
|
fun getOrDefault(key: String, defaultValue: String): String = TODO()
|
|
}
|
|
|
|
abstract class Test2 : MutableMap<String, String> {
|
|
fun replace(key: String, value: String): String? = TODO()
|
|
}
|
|
|
|
abstract class Test3 : java.util.AbstractMap<String, String>() {
|
|
fun <!VIRTUAL_MEMBER_HIDDEN!>containsKey<!>(key: String): Boolean = TODO()
|
|
|
|
fun replace(key: String, value: String): String? = TODO()
|
|
}
|
|
|