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