[JS IR] Fix tests

^KT-59001
This commit is contained in:
Alexander Korepanov
2023-06-20 20:43:10 +02:00
committed by Space Team
parent 0b4a9499f0
commit 2fdb605a03
3 changed files with 6 additions and 19 deletions
@@ -9,5 +9,4 @@ internal val stdlibFqNames = mapOf(
Pair::class to "kotlin.Pair",
Triple::class to "kotlin.Triple",
HashMap::class to "kotlin.collections.HashMap",
AbstractMutableMap.SimpleEntry::class to "kotlin.collections.AbstractMutableMap.SimpleEntry"
)
+4 -4
View File
@@ -36,7 +36,7 @@ fun box() {
// test.kt:5 box:
// test.kt:11 box: map=kotlin.collections.HashMap
// test.kt:11 box: map=kotlin.collections.HashMap
// test.kt:14 box: map=kotlin.collections.HashMap, e=kotlin.collections.AbstractMutableMap.SimpleEntry
// test.kt:14 box: map=kotlin.collections.HashMap, e=kotlin.collections.AbstractMutableMap.SimpleEntry
// test.kt:11 box: map=kotlin.collections.HashMap, e=kotlin.collections.AbstractMutableMap.SimpleEntry
// test.kt:16 box: map=kotlin.collections.HashMap, e=kotlin.collections.AbstractMutableMap.SimpleEntry
// test.kt:14 box: map=kotlin.collections.HashMap, e=EntryRef
// test.kt:14 box: map=kotlin.collections.HashMap, e=EntryRef
// test.kt:11 box: map=kotlin.collections.HashMap, e=EntryRef
// test.kt:16 box: map=kotlin.collections.HashMap, e=EntryRef
+2 -14
View File
@@ -10311,6 +10311,8 @@ public open class HashMap<K, V> : kotlin.collections.AbstractMutableMap<K, V>, k
public open override fun put(key: K, value: V): V?
public open override fun putAll(from: kotlin.collections.Map<out K, V>): kotlin.Unit
public open override fun remove(key: K): V?
}
@@ -10384,20 +10386,6 @@ public open class LinkedHashMap<K, V> : kotlin.collections.HashMap<K, V>, kotlin
public constructor LinkedHashMap<K, V>(initialCapacity: kotlin.Int, loadFactor: kotlin.Float)
public constructor LinkedHashMap<K, V>(original: kotlin.collections.Map<out K, V>)
public open override val size: kotlin.Int { get; }
public open override fun clear(): kotlin.Unit
public open override fun containsKey(key: K): kotlin.Boolean
public open override fun containsValue(value: V): kotlin.Boolean
public open override operator fun get(key: K): V?
public open override fun put(key: K, value: V): V?
public open override fun remove(key: K): V?
}
public open class LinkedHashSet<E> : kotlin.collections.HashSet<E>, kotlin.collections.MutableSet<E> {