[JVM_IR] Recursively perform constant lowering.
Otherwise constants in child expressions are not transformed. ^KT-47716 Fixed.
This commit is contained in:
committed by
Alexander Udalov
parent
2877f1cabe
commit
6436a1686d
@@ -0,0 +1,12 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun box(): String {
|
||||
val r =
|
||||
try {
|
||||
ULong
|
||||
} finally {
|
||||
UInt.MAX_VALUE
|
||||
}.MAX_VALUE
|
||||
return if (r == ULong.MAX_VALUE) "OK" else "FAIL"
|
||||
}
|
||||
Reference in New Issue
Block a user