f98a22e8e4
Invert the logic of IR/FIR2IR-based generators: change the CLI argument to -Xuse-fir-fake-override-builder, test directive to USE_FIR_BASED_FAKE_OVERRIDE_GENERATOR, etc. The changes in test data caused by using IR fake override builder by default are in the subsequent commit. #KT-61514
14 lines
367 B
Kotlin
Vendored
14 lines
367 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// WITH_STDLIB
|
|
// KT-64692
|
|
|
|
// test data differs - no getOrDefault in AbstractMap for non-jvm.
|
|
// IGNORE_BACKEND: NATIVE, JS, JS_IR, JS_IR_ES6, WASM
|
|
|
|
class MyMap : AbstractMap<Int, Int>() {
|
|
override val entries = emptySet<Map.Entry<Int, Int>>()
|
|
|
|
// clash with stdlib internal function
|
|
fun containsEntry(entry: Map.Entry<*, *>?) = false
|
|
}
|