[JS IR] Emit original names for local vars to sourcemaps

#KT-35655 Fixed
This commit is contained in:
Sergej Jaskiewicz
2022-11-01 19:19:25 +01:00
committed by Space Team
parent 8efa72ca36
commit 7b7c517dbb
114 changed files with 1970 additions and 376 deletions
+11 -2
View File
@@ -16,8 +16,6 @@ fun box() {
}
}
// EXPECTATIONS
// EXPECTATIONS JVM
// test.kt:6 box:
// test.kt:12 box: map:java.util.Map=java.util.Collections$SingletonMap
@@ -33,3 +31,14 @@ fun box() {
// test.kt:15 box: map:java.util.Map=java.util.Collections$SingletonMap, e:java.util.Map$Entry=java.util.AbstractMap$SimpleImmutableEntry
// test.kt:8 box: map:java.util.Map=java.util.Collections$SingletonMap
// test.kt:17 box: map:java.util.Map=java.util.Collections$SingletonMap
// EXPECTATIONS JS_IR
// test.kt:6 box:
// test.kt:6 box:
// test.kt:12 box: map=kotlin.collections.HashMap
// test.kt:12 box: map=kotlin.collections.HashMap
// test.kt:12 box: map=kotlin.collections.HashMap
// test.kt:15 box: map=kotlin.collections.HashMap, e=kotlin.collections.AbstractMutableMap.SimpleEntry
// test.kt:15 box: map=kotlin.collections.HashMap, e=kotlin.collections.AbstractMutableMap.SimpleEntry
// test.kt:12 box: map=kotlin.collections.HashMap, e=kotlin.collections.AbstractMutableMap.SimpleEntry
// test.kt:17 box: map=kotlin.collections.HashMap, e=kotlin.collections.AbstractMutableMap.SimpleEntry