[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
+6 -5
View File
@@ -1,3 +1,4 @@
// TARGET_BACKEND: JVM
// WITH_STDLIB
// FILE: test.kt
class C {
@@ -9,9 +10,9 @@ fun box() {
C().foo(4)
}
// EXPECTATIONS
// test.kt:9 box:
// test.kt:3 <init>:
// test.kt:9 box:
// test.kt:5 foo: firstParam:int=4:int, secondParam:java.lang.String="":java.lang.String
// EXPECTATIONS JVM JVM_IR
// test.kt:10 box:
// test.kt:4 <init>:
// test.kt:10 box:
// test.kt:6 foo: firstParam:int=4:int, secondParam:java.lang.String="":java.lang.String
// test.kt:11 box: