Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt48806.kt
T
Vladimir Sukharev 5b825282a4 [IR] Render type abbreviations by default, and not render in irText tests
^KT-60248


Merge-request: KT-MR-11510
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2023-08-14 15:08:45 +00:00

20 lines
313 B
Kotlin
Vendored

// FIR_IDENTICAL
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// ISSUE: KT-48806
class A {
val test_1: Int = try{
throw RuntimeException()
} catch(e: Exception) {
1
}
val test_2: Int = try{
1
} catch(e: Exception) {
throw RuntimeException()
}
}