JS: fix translation of float constants. See KT-8413

This commit is contained in:
Alexey Andreev
2016-12-29 19:36:31 +03:00
parent 900adcf29b
commit 069711c3d5
3 changed files with 12 additions and 10 deletions
-3
View File
@@ -1,6 +1,3 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun box(): String {
if (1F != 1.toFloat()) return "fail 1"
if (1.0F != 1.0.toFloat()) return "fail 2"