Update test data

This commit is contained in:
Roman Artemev
2018-08-23 19:26:25 +03:00
committed by romanart
parent 2e5940e46d
commit 5dcb02466a
11 changed files with 2 additions and 9 deletions
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
// WITH_COROUTINES
// IGNORE_BACKEND: JS
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun Int.thisRef1() = fun () = this
fun Int.thisRef2() = fun (): Int {return this}
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
object A {
val a = "OK"
val b = A.a
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
class A(val result: String)
fun a(body: A.() -> String): String {
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
interface T
object Foo {
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
class Test {
companion object {
fun ok() = "OK"
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
interface Test {
companion object {
fun ok() = "OK"
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
object Test {
fun ok() = "OK"
val x = run { Test.ok() }
+1
View File
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JVM_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
open class Bar<T>(val prop: String)
class Foo {
companion object : Bar<Foo>("OK") {
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
open class Bar<T>(val prop: String)
object Foo : Bar<Foo>("OK") {