diff --git a/compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt b/compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt index 7b81f695dfd..bc6200c60c5 100644 --- a/compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt +++ b/compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class C(val value: String = "C") { inner class B(val s: String) { diff --git a/compiler/testData/codegen/box/classes/kt1345.kt b/compiler/testData/codegen/box/classes/kt1345.kt index bb09cdf71b5..3933f9c552e 100644 --- a/compiler/testData/codegen/box/classes/kt1345.kt +++ b/compiler/testData/codegen/box/classes/kt1345.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR interface Creator { fun create() : T } diff --git a/compiler/testData/codegen/box/dataClasses/copy/constructorWithDefaultParam.kt b/compiler/testData/codegen/box/dataClasses/copy/constructorWithDefaultParam.kt index cc275dc1698..5211d6889ae 100644 --- a/compiler/testData/codegen/box/dataClasses/copy/constructorWithDefaultParam.kt +++ b/compiler/testData/codegen/box/dataClasses/copy/constructorWithDefaultParam.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR data class A(val a: Int = 1, val b: String = "$a") {} fun box() : String { diff --git a/compiler/testData/codegen/box/dataClasses/equals/sameinstance.kt b/compiler/testData/codegen/box/dataClasses/equals/sameinstance.kt index c59eb9fa6f5..04a1cfdc4f1 100644 --- a/compiler/testData/codegen/box/dataClasses/equals/sameinstance.kt +++ b/compiler/testData/codegen/box/dataClasses/equals/sameinstance.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR data class A(val arg: Any? = null) fun box() : String { diff --git a/compiler/testData/codegen/box/defaultArguments/constructor/annotation.kt b/compiler/testData/codegen/box/defaultArguments/constructor/annotation.kt index 284ee8b99e3..f7e1453599d 100644 --- a/compiler/testData/codegen/box/defaultArguments/constructor/annotation.kt +++ b/compiler/testData/codegen/box/defaultArguments/constructor/annotation.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR annotation class A(val a: Int = 0) @A fun test1() = 1 diff --git a/compiler/testData/codegen/box/defaultArguments/constructor/annotationWithEmptyArray.kt b/compiler/testData/codegen/box/defaultArguments/constructor/annotationWithEmptyArray.kt index 1ab861b3469..1bf88131f44 100644 --- a/compiler/testData/codegen/box/defaultArguments/constructor/annotationWithEmptyArray.kt +++ b/compiler/testData/codegen/box/defaultArguments/constructor/annotationWithEmptyArray.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR annotation class Anno(val x: Array = emptyArray()) @Anno fun test1() = 1 diff --git a/compiler/testData/codegen/box/defaultArguments/constructor/defArgs1.kt b/compiler/testData/codegen/box/defaultArguments/constructor/defArgs1.kt index ab0de43c542..db8161f1911 100644 --- a/compiler/testData/codegen/box/defaultArguments/constructor/defArgs1.kt +++ b/compiler/testData/codegen/box/defaultArguments/constructor/defArgs1.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A(val a: Int = 0) fun box(): String { diff --git a/compiler/testData/codegen/box/defaultArguments/constructor/defArgs2.kt b/compiler/testData/codegen/box/defaultArguments/constructor/defArgs2.kt index 5bbb4c4336b..9a22d318336 100644 --- a/compiler/testData/codegen/box/defaultArguments/constructor/defArgs2.kt +++ b/compiler/testData/codegen/box/defaultArguments/constructor/defArgs2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A(val a: Int = 0, val b: String = "a") fun box(): String { diff --git a/compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt b/compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt index 48a4b2bf976..ca4275a7403 100644 --- a/compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt +++ b/compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class Foo private constructor(val param: String = "OK") { companion object { val s = Foo() diff --git a/compiler/testData/codegen/box/defaultArguments/private/primaryConstructor.kt b/compiler/testData/codegen/box/defaultArguments/private/primaryConstructor.kt index a40accc9ef1..7b4ba263678 100644 --- a/compiler/testData/codegen/box/defaultArguments/private/primaryConstructor.kt +++ b/compiler/testData/codegen/box/defaultArguments/private/primaryConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR var state: String = "Fail" class A private constructor(x: String = "OK") { diff --git a/compiler/testData/codegen/box/defaultArguments/private/secondaryConstructor.kt b/compiler/testData/codegen/box/defaultArguments/private/secondaryConstructor.kt index a163e393f15..ea7569669e5 100644 --- a/compiler/testData/codegen/box/defaultArguments/private/secondaryConstructor.kt +++ b/compiler/testData/codegen/box/defaultArguments/private/secondaryConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR var state: String = "Fail" class A { diff --git a/compiler/testData/codegen/box/delegatedProperty/castSetParameter.kt b/compiler/testData/codegen/box/delegatedProperty/castSetParameter.kt index 5e70f87fef0..3d3e7a7806a 100644 --- a/compiler/testData/codegen/box/delegatedProperty/castSetParameter.kt +++ b/compiler/testData/codegen/box/delegatedProperty/castSetParameter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR import kotlin.reflect.KProperty class Delegate { diff --git a/compiler/testData/codegen/box/functions/kt2270.kt b/compiler/testData/codegen/box/functions/kt2270.kt index e294e3bb5fe..27d631e3d2f 100644 --- a/compiler/testData/codegen/box/functions/kt2270.kt +++ b/compiler/testData/codegen/box/functions/kt2270.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A( val i : Int, val j : Int = i diff --git a/compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsClassDefaultArgument.kt b/compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsClassDefaultArgument.kt index a598f11ad9d..298b0ec9162 100644 --- a/compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsClassDefaultArgument.kt +++ b/compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsClassDefaultArgument.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // KT-3581 open class A(val result: String = "OK") { diff --git a/compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt b/compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt index 50d30afd3ac..e5a27ccdbc4 100644 --- a/compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt +++ b/compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A( val a: String = object { override fun toString(): String = "OK" diff --git a/compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt b/compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt index 39dbd270243..2b5c62666e6 100644 --- a/compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt +++ b/compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A( val a: String = { open class B() { diff --git a/compiler/testData/codegen/box/privateConstructors/withArguments.kt b/compiler/testData/codegen/box/privateConstructors/withArguments.kt index 315421482b7..a53517a81dd 100644 --- a/compiler/testData/codegen/box/privateConstructors/withArguments.kt +++ b/compiler/testData/codegen/box/privateConstructors/withArguments.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // See also KT-6299 public open class Outer private constructor(val s: String, val f: Boolean = true) { class Inner: Outer("xyz") diff --git a/compiler/testData/codegen/box/privateConstructors/withDefault.kt b/compiler/testData/codegen/box/privateConstructors/withDefault.kt index ceb7fb1d7bc..cb96e8dcb4b 100644 --- a/compiler/testData/codegen/box/privateConstructors/withDefault.kt +++ b/compiler/testData/codegen/box/privateConstructors/withDefault.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // See also KT-6299 public open class Outer private constructor(val x: Int = 0) { class Inner: Outer() diff --git a/compiler/testData/codegen/box/privateConstructors/withLinkedClasses.kt b/compiler/testData/codegen/box/privateConstructors/withLinkedClasses.kt index 7b34528038c..ff7f86f847a 100644 --- a/compiler/testData/codegen/box/privateConstructors/withLinkedClasses.kt +++ b/compiler/testData/codegen/box/privateConstructors/withLinkedClasses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // See also KT-6299 public open class Outer private constructor(val p: Outer?) { object First: Outer(null) diff --git a/compiler/testData/codegen/box/regressions/kt10143.kt b/compiler/testData/codegen/box/regressions/kt10143.kt index b6486c7e70e..33a0cbbce16 100644 --- a/compiler/testData/codegen/box/regressions/kt10143.kt +++ b/compiler/testData/codegen/box/regressions/kt10143.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: Outer.kt package another diff --git a/compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithNamedArgs.kt b/compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithNamedArgs.kt index 73316efbe86..30fc0208f2c 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithNamedArgs.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithNamedArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR open class A(val result: String) { constructor(x: Int = 11, y: Int = 22, z: Int = 33) : this("$x$y$z") } diff --git a/compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithOptionalArgs.kt b/compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithOptionalArgs.kt index 0500e0a5b99..71955e44537 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithOptionalArgs.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithOptionalArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR open class A(val result: String) { constructor(x: Int, y: Int = 99) : this("$x$y") } diff --git a/compiler/testData/codegen/box/secondaryConstructors/clashingDefaultConstructors.kt b/compiler/testData/codegen/box/secondaryConstructors/clashingDefaultConstructors.kt index 168a1828ef3..bad07d0d16b 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/clashingDefaultConstructors.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/clashingDefaultConstructors.kt @@ -1,4 +1,3 @@ -// 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()) diff --git a/compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt b/compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt index 48832ceca8c..409e42f9ec0 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR var global = 0 fun sideEffect() = global++ diff --git a/compiler/testData/codegen/box/smartCasts/smartCastInsideIf.kt b/compiler/testData/codegen/box/smartCasts/smartCastInsideIf.kt index c7e979227a3..10d4a4c76c8 100644 --- a/compiler/testData/codegen/box/smartCasts/smartCastInsideIf.kt +++ b/compiler/testData/codegen/box/smartCasts/smartCastInsideIf.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A(val s: String = "FAIL") private fun foo(a: A?, aOther: A?): A { diff --git a/compiler/testData/codegen/box/typeInfo/ifOrWhenSpecialCall.kt b/compiler/testData/codegen/box/typeInfo/ifOrWhenSpecialCall.kt index 3b1c3c94995..54ec5152a12 100644 --- a/compiler/testData/codegen/box/typeInfo/ifOrWhenSpecialCall.kt +++ b/compiler/testData/codegen/box/typeInfo/ifOrWhenSpecialCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR interface Option { val s: String } diff --git a/compiler/testData/codegen/box/typealias/kt15109.kt b/compiler/testData/codegen/box/typealias/kt15109.kt index 9f11e0c7123..f6846176bf5 100644 --- a/compiler/testData/codegen/box/typealias/kt15109.kt +++ b/compiler/testData/codegen/box/typealias/kt15109.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR open class A(private val s: String = "") { fun foo() = s } diff --git a/compiler/testData/codegen/boxInline/defaultValues/33ParametersInConstructor.kt b/compiler/testData/codegen/boxInline/defaultValues/33ParametersInConstructor.kt index 3d912c4c112..e0d10b91911 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/33ParametersInConstructor.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/33ParametersInConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt package test diff --git a/js/js.translator/testData/box/defaultArguments/complexExpressionAsConstructorDefaultArgument.kt b/js/js.translator/testData/box/defaultArguments/complexExpressionAsConstructorDefaultArgument.kt index 36b792c0bf3..39ae3adf1b8 100644 --- a/js/js.translator/testData/box/defaultArguments/complexExpressionAsConstructorDefaultArgument.kt +++ b/js/js.translator/testData/box/defaultArguments/complexExpressionAsConstructorDefaultArgument.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1117 package foo diff --git a/js/js.translator/testData/box/defaultArguments/constructorCallWithDefArg1.kt b/js/js.translator/testData/box/defaultArguments/constructorCallWithDefArg1.kt index 5edb29a5b51..40e2e1e6fc2 100644 --- a/js/js.translator/testData/box/defaultArguments/constructorCallWithDefArg1.kt +++ b/js/js.translator/testData/box/defaultArguments/constructorCallWithDefArg1.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1112 package foo diff --git a/js/js.translator/testData/box/defaultArguments/defArgsWithSuperCall.kt b/js/js.translator/testData/box/defaultArguments/defArgsWithSuperCall.kt index c9a02ef8f3c..df845a71579 100644 --- a/js/js.translator/testData/box/defaultArguments/defArgsWithSuperCall.kt +++ b/js/js.translator/testData/box/defaultArguments/defArgsWithSuperCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1117 package foo diff --git a/js/js.translator/testData/box/defaultArguments/primarySuperConstructor.kt b/js/js.translator/testData/box/defaultArguments/primarySuperConstructor.kt index 1ba2cc2b009..3a51128f569 100644 --- a/js/js.translator/testData/box/defaultArguments/primarySuperConstructor.kt +++ b/js/js.translator/testData/box/defaultArguments/primarySuperConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1121 package foo diff --git a/js/js.translator/testData/box/defaultArguments/secondarySuperConstructor.kt b/js/js.translator/testData/box/defaultArguments/secondarySuperConstructor.kt index 5bc9819c4f5..57e67ecc98b 100644 --- a/js/js.translator/testData/box/defaultArguments/secondarySuperConstructor.kt +++ b/js/js.translator/testData/box/defaultArguments/secondarySuperConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1124 package foo diff --git a/js/js.translator/testData/box/inheritance/baseCallOrder.kt b/js/js.translator/testData/box/inheritance/baseCallOrder.kt index 70fc1ac9b86..59887475f2b 100644 --- a/js/js.translator/testData/box/inheritance/baseCallOrder.kt +++ b/js/js.translator/testData/box/inheritance/baseCallOrder.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1118 package foo diff --git a/js/js.translator/testData/box/initialize/complexPropertyInitializer.kt b/js/js.translator/testData/box/initialize/complexPropertyInitializer.kt index 32f81370558..723e3a0fd4e 100644 --- a/js/js.translator/testData/box/initialize/complexPropertyInitializer.kt +++ b/js/js.translator/testData/box/initialize/complexPropertyInitializer.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1113 package foo diff --git a/js/js.translator/testData/box/inline/statementsAfterReturn.kt b/js/js.translator/testData/box/inline/statementsAfterReturn.kt index 5c06a296547..600abd5a13f 100644 --- a/js/js.translator/testData/box/inline/statementsAfterReturn.kt +++ b/js/js.translator/testData/box/inline/statementsAfterReturn.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1150 package foo diff --git a/js/js.translator/testData/box/inlineEvaluationOrder/propertiesInitializationOrder.kt b/js/js.translator/testData/box/inlineEvaluationOrder/propertiesInitializationOrder.kt index 83111f9f5d8..0f1e6cd37a0 100644 --- a/js/js.translator/testData/box/inlineEvaluationOrder/propertiesInitializationOrder.kt +++ b/js/js.translator/testData/box/inlineEvaluationOrder/propertiesInitializationOrder.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1118 package foo diff --git a/js/js.translator/testData/box/nestedTypes/privateFieldNotOverridenInNestedSubclass.kt b/js/js.translator/testData/box/nestedTypes/privateFieldNotOverridenInNestedSubclass.kt index 426d597d8ae..52675c42a61 100644 --- a/js/js.translator/testData/box/nestedTypes/privateFieldNotOverridenInNestedSubclass.kt +++ b/js/js.translator/testData/box/nestedTypes/privateFieldNotOverridenInNestedSubclass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1119 package foo diff --git a/js/js.translator/testData/box/reified/extensionMethod.kt b/js/js.translator/testData/box/reified/extensionMethod.kt index d52edc20473..44b2372e4fd 100644 --- a/js/js.translator/testData/box/reified/extensionMethod.kt +++ b/js/js.translator/testData/box/reified/extensionMethod.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1123 package foo diff --git a/js/js.translator/testData/box/reified/method.kt b/js/js.translator/testData/box/reified/method.kt index f482935fb78..7caaf4624cb 100644 --- a/js/js.translator/testData/box/reified/method.kt +++ b/js/js.translator/testData/box/reified/method.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1118 package foo