Fix comparison of boolean values in JS BE

See KT-16984
This commit is contained in:
Alexey Andreev
2017-05-25 16:48:08 +03:00
parent f5510b8d66
commit dde50a34db
8 changed files with 42 additions and 18 deletions
@@ -1,6 +1,3 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun checkLess(x: Boolean, y: Boolean) = when {
x >= y -> "Fail $x >= $y"
!(x < y) -> "Fail !($x < $y)"