[JS IR] Improve debug info for callable references and lambdas

#KT-46276
This commit is contained in:
Sergej Jaskiewicz
2022-10-28 14:22:38 +02:00
committed by Space Team
parent fe0e9db3aa
commit 512a2bfd7a
6 changed files with 33 additions and 21 deletions
+2 -1
View File
@@ -23,9 +23,10 @@ fun f(block: () -> Unit) {
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:4 box$lambda
// test.kt:4 box
// test.kt:10 f
// test.kt:5 box$lambda$lambda
// test.kt:6 box$lambda$lambda
// test.kt:11 f
// test.kt:7 box
// test.kt:7 box
+2 -1
View File
@@ -60,10 +60,11 @@ fun box() {
// test.kt:3 <init>
// test.kt:22 box
// test.kt:9 foo
// test.kt:7 E$foo$lambda
// test.kt:15 E2_initEntries
// test.kt:14 <init>
// test.kt:14 <init>
// test.kt:17 E2_initEntries
// test.kt:14 <init>
// test.kt:14 <init>
// test.kt:24 box
// test.kt:24 box
+2 -3
View File
@@ -32,10 +32,9 @@ fun g() {}
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:4 g$ref
// test.kt:4 box
// test.kt:8 f
// test.kt:4 g$ref$lambda
// test.kt:11 g
// test.kt:4 g$ref$lambda
// test.kt:9 f
// test.kt:5 box
// test.kt:5 box