Initialize 'source' property of FirCatch objects properly

^KT-56923: Fixed
^KT-56755: Fixed
This commit is contained in:
vladislav.grechko
2023-03-01 20:15:41 +01:00
committed by teamcity
parent 83845fbab5
commit 17e6099b53
16 changed files with 357 additions and 345 deletions
+21 -23
View File
@@ -1,5 +1,3 @@
// IGNORE_BACKEND_K2_LIGHT_TREE: JVM_IR
// Reason: KT-56755
// FILE: test.kt
fun foo(shouldThrow: Boolean) {
@@ -17,28 +15,28 @@ fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:15 box
// test.kt:6 foo
// test.kt:7 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:16 box
// test.kt:6 foo
// test.kt:7 foo
// test.kt:8 foo
// test.kt:13 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:9 foo
// test.kt:11 foo
// test.kt:12 foo
// test.kt:17 box
// test.kt:10 foo
// test.kt:14 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:6 foo
// test.kt:7 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:15 box
// EXPECTATIONS JS_IR
// test.kt:13 box
// test.kt:5 foo
// test.kt:10 foo
// test.kt:14 box
// test.kt:5 foo
// test.kt:5 foo
// test.kt:6 foo
// test.kt:6 foo
// test.kt:10 foo
// test.kt:15 box
// test.kt:7 foo
// test.kt:12 foo
// test.kt:16 box
// test.kt:7 foo
// test.kt:7 foo
// test.kt:8 foo
// test.kt:8 foo
// test.kt:12 foo
// test.kt:17 box