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
+14 -16
View File
@@ -1,5 +1,3 @@
// IGNORE_BACKEND_K2_LIGHT_TREE: JVM_IR
// Reason: KT-56755
// FILE: test.kt
fun box() {
val a = 1
@@ -17,25 +15,25 @@ fun throwIfLess(a: Int, b: Int) {
throw IllegalStateException()
}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:14 throwIfLess
// test.kt:15 throwIfLess
// test.kt:7 box
// test.kt:8 box
// test.kt:16 throwIfLess
// test.kt:17 throwIfLess
// test.kt:9 box
// test.kt:10 box
// test.kt:16 throwIfLess
// test.kt:17 throwIfLess
// test.kt:14 throwIfLess
// test.kt:15 throwIfLess
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:3 box
// test.kt:4 box
// test.kt:6 box
// test.kt:14 throwIfLess
// test.kt:15 throwIfLess
// test.kt:7 box
// test.kt:7 box
// test.kt:8 box
// test.kt:16 throwIfLess
// test.kt:17 throwIfLess
// test.kt:9 box
// test.kt:9 box
// test.kt:10 box
// test.kt:16 throwIfLess
// test.kt:17 throwIfLess
// test.kt:14 throwIfLess
// test.kt:15 throwIfLess