JS IR: mute codegen box tests automatically

This commit is contained in:
Anton Bannykh
2018-06-07 14:17:45 +03:00
parent 7e1713af44
commit 96355e2732
2384 changed files with 2384 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
data class A<T, F>(val x: T, val y: F)
fun <X, Y> foo(a: A<X, Y>, block: (A<X, Y>) -> String) = block(a)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
data class A(val x: String, val y: String)
inline fun foo(a: A, block: (A) -> String): String = block(a)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
data class A(val x: String, val y: String)
fun foo(a: A, block: (Int, A, String) -> String): String = block(1, a, "#")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
data class A(val x: String, val y: String)
fun foo(a: A, block: (A) -> String): String = block(a)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class A {
operator fun component1() = "O"
operator fun component2(): String = throw RuntimeException("fail 0")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
data class Station(
val id: String?,