[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
+20
-2
@@ -16,7 +16,7 @@ fun box() {
|
||||
} while (x < z)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 box:
|
||||
// test.kt:8 box: x:int=0:int
|
||||
// test.kt:9 box: x:int=0:int, z:int=2:int
|
||||
@@ -30,4 +30,22 @@ fun box() {
|
||||
// test.kt:9 box: x:int=2:int, z:int=2:int
|
||||
// test.kt:15 box: x:int=2:int, z:int=2:int
|
||||
// test.kt:16 box: x:int=2:int, z:int=2:int
|
||||
// test.kt:17 box: x:int=2:int
|
||||
// test.kt:17 box: x:int=2:int
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:6 box:
|
||||
// test.kt:8 box: x=0:number
|
||||
// test.kt:9 box: x=0:number, z=2:number
|
||||
// test.kt:9 box: x=0:number, z=2:number
|
||||
// test.kt:9 box: x=1:number, z=2:number
|
||||
// test.kt:3 shouldContinue: i=0:number
|
||||
// test.kt:10 box: x=1:number, z=2:number
|
||||
// test.kt:16 box: x=1:number, z=2:number
|
||||
// test.kt:8 box: x=1:number, z=2:number
|
||||
// test.kt:9 box: x=1:number, z=2:number
|
||||
// test.kt:9 box: x=1:number, z=2:number
|
||||
// test.kt:9 box: x=2:number, z=2:number
|
||||
// test.kt:3 shouldContinue: i=1:number
|
||||
// test.kt:15 box: x=2:number, z=2:number
|
||||
// test.kt:16 box: x=2:number, z=2:number, y=12:number
|
||||
// test.kt:17 box: x=2:number, z=2:number, y=12:number
|
||||
|
||||
Reference in New Issue
Block a user