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
open class A(val result: String) {
constructor(x: Int = 11, y: Int = 22, z: Int = 33) : this("$x$y$z")
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
open class A(val result: String) {
constructor(x: Int, y: Int = 99) : this("$x$y")
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
open class A(val x: String = "abc", val y: String = "efg") {
constructor(x: String, y: String, z: Int): this(x, y + "#" + z.toString())
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
internal data class A1(val prop1: String) {
val prop2: String = "const2"
var prop3: String = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
val global = "OK"
class A {
val prop: String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
var global = 0
fun sideEffect() = global++
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
var log = ""
open class Base(val s: String)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
enum class A1(val prop1: String) {
X("asd"),
Y() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class Outer {
val outerProp: String
constructor(x: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class Outer {
val outerProp: String
constructor(x: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun join(x: Array<out String>): String {
var result = ""
for (i in x) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
inline fun run(block: () -> Unit) = block()
class A {