[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
+23
-3
@@ -9,8 +9,6 @@ fun box() {
|
||||
foo(A("O", 123), A("K", 877)) { (x, y), (z, w) -> (x + z) + (y + w) }
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:9 box:
|
||||
// test.kt:4 <init>: x:java.lang.String="O":java.lang.String, y:int=123:int
|
||||
@@ -33,4 +31,26 @@ fun box() {
|
||||
// test.kt:9 invoke: x:java.lang.String="O":java.lang.String, y:int=123:int, z:java.lang.String="K":java.lang.String, w:int=877:int
|
||||
// test.kt:6 foo: a:A=A, b:A=A, block:kotlin.jvm.functions.Function2=TestKt$box$1
|
||||
// test.kt:9 box:
|
||||
// test.kt:10 box:
|
||||
// test.kt:10 box:
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:9 box:
|
||||
// test.kt:4 <init>: x="O":kotlin.String, y=123:number
|
||||
// test.kt:4 <init>: x="O":kotlin.String, y=123:number
|
||||
// test.kt:4 <init>: x="O":kotlin.String, y=123:number
|
||||
// test.kt:9 box:
|
||||
// test.kt:4 <init>: x="K":kotlin.String, y=877:number
|
||||
// test.kt:4 <init>: x="K":kotlin.String, y=877:number
|
||||
// test.kt:4 <init>: x="K":kotlin.String, y=877:number
|
||||
// test.kt:9 box:
|
||||
// test.kt:6 foo: a=A, b=A, block=Function2
|
||||
// test.kt:9 box$lambda:
|
||||
// test.kt:1 component1:
|
||||
// test.kt:9 box$lambda: x="O":kotlin.String
|
||||
// test.kt:1 component2:
|
||||
// test.kt:9 box$lambda: x="O":kotlin.String, y=123:number
|
||||
// test.kt:1 component1:
|
||||
// test.kt:9 box$lambda: x="O":kotlin.String, y=123:number, z="K":kotlin.String
|
||||
// test.kt:1 component2:
|
||||
// test.kt:9 box$lambda: x="O":kotlin.String, y=123:number, z="K":kotlin.String, w=877:number
|
||||
// test.kt:10 box:
|
||||
|
||||
Reference in New Issue
Block a user