[FIR] Bring equivalent call behavior closer to K1
#KT-61159 Fixed
This commit is contained in:
committed by
Space Team
parent
7c67e9e08b
commit
fa77e3952d
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user