[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
+13
-1
@@ -14,7 +14,7 @@ suspend fun box() {
|
||||
A().foo1(42)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:14 box: $completion:kotlin.coroutines.Continuation=Generated_Box_MainKt$main$1
|
||||
// test.kt:4 <init>:
|
||||
// test.kt:14 box: $completion:kotlin.coroutines.Continuation=Generated_Box_MainKt$main$1
|
||||
@@ -29,3 +29,15 @@ suspend fun box() {
|
||||
// test.kt:10 foo1: $continuation:kotlin.coroutines.Continuation=A$foo1$1, $result:java.lang.Object=null, l:long=42:long
|
||||
// test.kt:14 box: $completion:kotlin.coroutines.Continuation=Generated_Box_MainKt$main$1
|
||||
// test.kt:15 box: $completion:kotlin.coroutines.Continuation=Generated_Box_MainKt$main$1
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:14 box: $completion=EmptyContinuation
|
||||
// test.kt:4 <init>:
|
||||
// test.kt:14 box: $completion=EmptyContinuation
|
||||
// test.kt:14 box: $completion=EmptyContinuation
|
||||
// test.kt:7 doResume:
|
||||
// test.kt:5 foo: $completion=$foo1COROUTINE$0
|
||||
// test.kt:8 doResume:
|
||||
// test.kt:5 foo: $completion=$foo1COROUTINE$0
|
||||
// test.kt:9 doResume:
|
||||
// test.kt:10 doResume: dead=kotlin.Long
|
||||
|
||||
Reference in New Issue
Block a user