[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
open class SuperFoo {
public fun bar(): String {
if (this is Foo) {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// See also KT-7801
class A
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A {
open val a = "OK"
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A {
class B : A() {
val a = "FAIL"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A {
fun f(): String =
when (this) {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A {
open fun foo() = "FAIL"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun String?.foo() = this ?: "OK"
fun foo(i: Int?): String {