[JS IR BE] Update test data

This commit is contained in:
Roman Artemev
2018-06-06 16:21:21 +03:00
committed by Roman Artemev
parent 17d71f1e46
commit 6ac4fd2e5f
160 changed files with 1239 additions and 172 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box() : String = when (true) {
((true)) -> "OK"
(1 == 2) -> "Not ok"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
sealed class A {
object B : A()
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun foo(s: Any): String {
val x = when (s) {
is String -> s