Ignore some 'when' subject variable tests in JS_IR be

This commit is contained in:
Dmitry Petrov
2018-06-19 18:00:50 +03:00
parent a4b5d74ae3
commit c312fddb45
10 changed files with 11 additions and 9 deletions
@@ -1,6 +1,6 @@
// !LANGUAGE: +VariableDeclarationInWhenSubject
// WITH_RUNTIME
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, JS_IR
fun sparse(x: Int): Int {
return when (val xx = (x % 4) * 100) {