JVM Inline: Update tryCatchBlocks when expand mask conditions

Fixes: KT-48989
This commit is contained in:
Xin Wang
2022-11-03 10:44:25 +08:00
committed by teamcity
parent 44ea1debf4
commit 7278f9a4fd
4 changed files with 25 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// TARGET_BACKEND: JVM_IR
fun box() = inlineFunctionWithDefaultArguments("OK")
inline fun inlineFunctionWithDefaultArguments(
p0: String = try {
"42"
} finally {
}, p1: Any = p0
) = p1