[Test] Use DUMP_EXTERNAL_CLASS instead of invalid DUMP_DEPENDENCIES directive in ir text tests

This commit is contained in:
Dmitriy Novozhilov
2022-12-05 12:09:58 +02:00
committed by Space Team
parent 9946bfcdfd
commit e7f6482857
24 changed files with 236 additions and 17 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
// !DUMP_DEPENDENCIES
// WITH_STDLIB
// FULL_JDK
fun <K1, V1> Map<out K1, V1>.plus(pair: Pair<K1, V1>): Map<K1, V1> =
if (this.isEmpty()) mapOf(pair) else LinkedHashMap(this).apply { put(pair.first, pair.second) }
if (this.isEmpty()) mapOf(pair) else LinkedHashMap(this).apply { put(pair.first, pair.second) }