[Fir2IR] Set correct module descriptors for builtins

^KT-64420
This commit is contained in:
Pavel Kunyavskiy
2024-01-03 11:09:20 +01:00
committed by Space Team
parent d665eb3575
commit 4080776fe3
17 changed files with 428 additions and 38 deletions
@@ -0,0 +1,14 @@
// WITH_STDLIB
// ENABLE_IR_FAKE_OVERRIDE_GENERATION
// KT-64692
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// 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
}