[FIR] Bring equivalent call behavior closer to K1

#KT-61159 Fixed
This commit is contained in:
Kirill Rakhman
2023-08-14 17:01:29 +02:00
committed by Space Team
parent 7c67e9e08b
commit fa77e3952d
39 changed files with 408 additions and 126 deletions
@@ -0,0 +1,13 @@
// MODULE: lib
// FILE: lib.kt
val a = "FAIL 1"
// MODULE: main(lib)
// FILE: box.kt
private val a = "OK"
fun box(): String {
if (a != "OK") return a
return "OK"
}