[JS IR] Emit original names for local vars to sourcemaps
#KT-35655 Fixed
This commit is contained in:
committed by
Space Team
parent
8efa72ca36
commit
7b7c517dbb
+14
-1
@@ -23,7 +23,7 @@ fun box() {
|
||||
compute()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:23 box:
|
||||
// test.kt:7 compute:
|
||||
// test.kt:8 compute: result:java.lang.String="":java.lang.String
|
||||
@@ -36,3 +36,16 @@ fun box() {
|
||||
// test.kt:12 compute: result:java.lang.String="yz":java.lang.String, x:java.lang.String="A":java.lang.String, y:java.lang.String="y":java.lang.String
|
||||
// test.kt:23 box:
|
||||
// test.kt:24 box:
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:23 box:
|
||||
// test.kt:7 compute:
|
||||
// test.kt:8 compute: result="":kotlin.String
|
||||
// test.kt:8 compute: result="":kotlin.String
|
||||
// test.kt:8 compute: result="":kotlin.String
|
||||
// test.kt:8 compute: result="":kotlin.String
|
||||
// test.kt:10 compute: result="":kotlin.String, x="A":kotlin.String
|
||||
// test.kt:11 compute: result="":kotlin.String, x="A":kotlin.String, y="y":kotlin.String
|
||||
// test.kt:12 compute: result="y":kotlin.String, x="A":kotlin.String, y="y":kotlin.String
|
||||
// test.kt:15 compute: result="y":kotlin.String, x="A":kotlin.String, y="y":kotlin.String
|
||||
// test.kt:16 compute: result="y":kotlin.String, x="A":kotlin.String, y="y":kotlin.String, z="z":kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user