[JS IR BE] Fix translation for float literals

This commit is contained in:
Roman Artemev
2018-10-23 19:07:24 +03:00
committed by romanart
parent 59b1743c37
commit 91ea377622
4 changed files with 4 additions and 3 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
if (1F != 1.toFloat()) return "fail 1"
if (1.0F != 1.0.toFloat()) return "fail 2"
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
fun checkByteArray(): Boolean {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals