Fixed long / double / float value merge in OptimizationBasicInterpreter #KT-7401 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun foo(): Long {
|
||||
var n = 2L
|
||||
if (n > 0L) {
|
||||
n++
|
||||
}
|
||||
n++
|
||||
return n
|
||||
}
|
||||
|
||||
fun box() = if (foo() == 4L) "OK" else "Fail"
|
||||
Reference in New Issue
Block a user