ff093d363a
Make sure that `message` and `cause` are properly configured - synchronize IR BE and Legacy behaviour - fix corresponding IR lowering - fix JS IR core runtime - add test - fix KT-39964
10 lines
186 B
Kotlin
Vendored
10 lines
186 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1237
|
|
|
|
// KT-39964
|
|
|
|
|
|
fun box(): String {
|
|
val e = Throwable(null, IllegalStateException("fail"))
|
|
if (e.message != null) return "FAIL"
|
|
return "OK"
|
|
} |