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
class A(
val a: String = object {
override fun toString(): String = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// Enable for JVM backend when KT-8120 gets fixed
// IGNORE_BACKEND: JVM
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
var log = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
package test
class C(val s : String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
package test
class C(val s : String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun String.bar(): String {
open class Local {
fun result() = this@bar
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
package a.b
interface Test {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
package org.example
interface SomeTrait {}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
package t
class Reproduce {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
val s = "captured";
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class Outer {
fun String.id(): String {
class Local(unused: Long) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class A(
val a: String = {
open class B() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
val capturedInConstructor = 1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS
fun `method with spaces`(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
var log = ""