diff --git a/compiler/testData/checkLocalVariablesTable/destructuringInlineLambda.kt b/compiler/testData/checkLocalVariablesTable/destructuringInlineLambda.kt index 0ead9a4a08e..b33eaecfead 100644 --- a/compiler/testData/checkLocalVariablesTable/destructuringInlineLambda.kt +++ b/compiler/testData/checkLocalVariablesTable/destructuringInlineLambda.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_IR inline fun foo(x: (Int, Station) -> Unit) { x(1, Station(null, "", 1)) } diff --git a/compiler/testData/codegen/box/arrays/kt4118.kt b/compiler/testData/codegen/box/arrays/kt4118.kt index 71ebfb5578b..979effeed54 100644 --- a/compiler/testData/codegen/box/arrays/kt4118.kt +++ b/compiler/testData/codegen/box/arrays/kt4118.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Array.test1(): Array { val func = { i:Int -> this} return func(1) diff --git a/compiler/testData/codegen/box/classes/kt2711.kt b/compiler/testData/codegen/box/classes/kt2711.kt index 409537ae567..55f4c972f66 100644 --- a/compiler/testData/codegen/box/classes/kt2711.kt +++ b/compiler/testData/codegen/box/classes/kt2711.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR class IntRange { operator fun contains(a: Int) = (1..2).contains(a) } diff --git a/compiler/testData/codegen/box/classes/kt707.kt b/compiler/testData/codegen/box/classes/kt707.kt index 0d66f601703..cb53a5d0125 100644 --- a/compiler/testData/codegen/box/classes/kt707.kt +++ b/compiler/testData/codegen/box/classes/kt707.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: Enable for JS when it supports Java class library. // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/classes/propertyInInitializer.kt b/compiler/testData/codegen/box/classes/propertyInInitializer.kt index d0995d629cd..5b7f4051f7b 100644 --- a/compiler/testData/codegen/box/classes/propertyInInitializer.kt +++ b/compiler/testData/codegen/box/classes/propertyInInitializer.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR class Outer() { val s = "xyzzy" diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterAndLocalCapturedInLambdaInLocalClass.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterAndLocalCapturedInLambdaInLocalClass.kt index 579eb883fb1..45546aa0964 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterAndLocalCapturedInLambdaInLocalClass.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterAndLocalCapturedInLambdaInLocalClass.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Base(val fn: () -> String) fun box(): String { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass2.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass2.kt index 533b73c29f2..e662921e638 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass2.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass2.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Base(val fn: () -> String) fun box(): String { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt index d756a7b7194..83b5c2a98fc 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Foo(val x: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt14148.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt14148.kt index 77dc0cb4195..e1853fc4b3f 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt14148.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt14148.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR interface Test { fun test(): String } diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInLambdaInInnerClassInLocalClass.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInLambdaInInnerClassInLocalClass.kt index 37766e05b41..98d323183e3 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInLambdaInInnerClassInLocalClass.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInLambdaInInnerClassInLocalClass.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Base(val fn: () -> String) fun box(): String { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedAsImplicitThisInBoundReference.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedAsImplicitThisInBoundReference.kt index 0c042978090..8a91d936000 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedAsImplicitThisInBoundReference.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedAsImplicitThisInBoundReference.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR abstract class Base(val fn: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt index ae00e7b3152..4c24e0aae11 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt index 0b6f4696606..b21d3d4bd25 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt index 82ec41367ee..5412eea0118 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSecondaryConstructor.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSecondaryConstructor.kt index 644a50518ac..0baadfdf169 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSecondaryConstructor.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSecondaryConstructor.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt index 580d24c2c06..b1f2305fc4f 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Foo(val x: () -> String) open class Foo2(val foo: Foo) diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt index 3bed1f0fdc8..8a6b095672c 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedObject.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedObject.kt index 984d20d783e..544c4c0576d 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedObject.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedObject.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR interface Callback { fun invoke(): String } diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt index 6e2dfe3f90c..caf1e5941cd 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR interface Callback { fun invoke(): String } diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt index acf1012c569..accdf0622f7 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR interface Callback { fun invoke(): String } diff --git a/compiler/testData/codegen/box/closures/kt10044.kt b/compiler/testData/codegen/box/closures/kt10044.kt index 3fe5ad2b399..277f356c76c 100644 --- a/compiler/testData/codegen/box/closures/kt10044.kt +++ b/compiler/testData/codegen/box/closures/kt10044.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class JClass() { fun test(): String { return "OK" diff --git a/compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationCrossinline.kt b/compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationCrossinline.kt index 99dc7271cd8..aeec4a2f8a3 100644 --- a/compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationCrossinline.kt +++ b/compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationCrossinline.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JVM_IR +// IGNORE_BACKEND: JVM_IR // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/noStdLib/crossinline.kt b/compiler/testData/codegen/box/coroutines/noStdLib/crossinline.kt index 6c25912580c..4734c15b2e8 100644 --- a/compiler/testData/codegen/box/coroutines/noStdLib/crossinline.kt +++ b/compiler/testData/codegen/box/coroutines/noStdLib/crossinline.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt index f186495325b..350068fdebf 100644 --- a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt +++ b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt index 80092051efa..6a83f03053a 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt @@ -1,5 +1,5 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR +// IGNORE_BACKEND: JVM_IR // DONT_RUN_GENERATED_CODE: JS tailrec fun test(x : Int = 0, e : Any = "a") { diff --git a/compiler/testData/codegen/box/enum/enumCompanionInit.kt b/compiler/testData/codegen/box/enum/enumCompanionInit.kt index 6362c830b4f..a5bd93cebb0 100644 --- a/compiler/testData/codegen/box/enum/enumCompanionInit.kt +++ b/compiler/testData/codegen/box/enum/enumCompanionInit.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR var result = "" diff --git a/compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt b/compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt index 13ec12190c3..caf3a79965c 100644 --- a/compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt +++ b/compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // KT-4423 Enum with function not compiled enum class Sign(val str: String, val func: (x: Int, y: Int) -> Int){ diff --git a/compiler/testData/codegen/box/enum/kt20651a.kt b/compiler/testData/codegen/box/enum/kt20651a.kt index 2dea6dd6192..364430cbe29 100644 --- a/compiler/testData/codegen/box/enum/kt20651a.kt +++ b/compiler/testData/codegen/box/enum/kt20651a.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR enum class Foo( val x: String, val callback: () -> String diff --git a/compiler/testData/codegen/box/enum/kt20651b.kt b/compiler/testData/codegen/box/enum/kt20651b.kt index 2737875554a..477e3036569 100644 --- a/compiler/testData/codegen/box/enum/kt20651b.kt +++ b/compiler/testData/codegen/box/enum/kt20651b.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR interface Callback { fun invoke(): String } diff --git a/compiler/testData/codegen/box/functions/functionExpression/functionExpressionWithThisReference.kt b/compiler/testData/codegen/box/functions/functionExpression/functionExpressionWithThisReference.kt index a9e1d43173e..21951a3e6ed 100644 --- a/compiler/testData/codegen/box/functions/functionExpression/functionExpressionWithThisReference.kt +++ b/compiler/testData/codegen/box/functions/functionExpression/functionExpressionWithThisReference.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR fun Int.thisRef1() = fun () = this fun Int.thisRef2() = fun (): Int {return this} diff --git a/compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt b/compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt index 3e32cdce37d..6dd5deb6964 100644 --- a/compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt +++ b/compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt @@ -1,6 +1,4 @@ // !LANGUAGE: +ProperIeee754Comparisons -// IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR fun testF(x: Any) = when (x) { diff --git a/compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt b/compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt index 80f2b97c0ce..cc1c678f7d4 100644 --- a/compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt +++ b/compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND: JVM_IR, JS_IR +// IGNORE_BACKEND: JVM_IR inline class SuccessOrFailure(val a: Any?) { fun getOrThrow(): T = a as T diff --git a/compiler/testData/codegen/box/innerNested/superConstructorCall/deepLocalHierarchy.kt b/compiler/testData/codegen/box/innerNested/superConstructorCall/deepLocalHierarchy.kt index 488e68de3ca..760f7b0deae 100644 --- a/compiler/testData/codegen/box/innerNested/superConstructorCall/deepLocalHierarchy.kt +++ b/compiler/testData/codegen/box/innerNested/superConstructorCall/deepLocalHierarchy.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR fun box(): String { abstract class L1 { abstract fun foo(): String diff --git a/compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt b/compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt index 579b0d2a56c..9d55a96033d 100644 --- a/compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt +++ b/compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR fun String.bar(): String { open class Local { fun result() = this@bar diff --git a/compiler/testData/codegen/box/localClasses/kt3584.kt b/compiler/testData/codegen/box/localClasses/kt3584.kt index 2ae3697bdd7..758694b6b17 100644 --- a/compiler/testData/codegen/box/localClasses/kt3584.kt +++ b/compiler/testData/codegen/box/localClasses/kt3584.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR fun box(): String { val s = "captured"; diff --git a/compiler/testData/codegen/box/localClasses/localClassInInitializer.kt b/compiler/testData/codegen/box/localClasses/localClassInInitializer.kt index 114df8937e4..0dafae38048 100644 --- a/compiler/testData/codegen/box/localClasses/localClassInInitializer.kt +++ b/compiler/testData/codegen/box/localClasses/localClassInInitializer.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { var a: String = "Fail" diff --git a/compiler/testData/codegen/box/localClasses/nameWithWhitespace.kt b/compiler/testData/codegen/box/localClasses/nameWithWhitespace.kt index 3b7f1194b04..2bdaf3a9a12 100644 --- a/compiler/testData/codegen/box/localClasses/nameWithWhitespace.kt +++ b/compiler/testData/codegen/box/localClasses/nameWithWhitespace.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt index 3d18adacce5..5f2ccb04fc2 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt @@ -1,4 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects +// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt index 53f7f987aea..704d33e4fa6 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt @@ -1,4 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects +// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt index 23aae686691..d3bc14ac9fe 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt @@ -1,4 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects +// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt index c4ea69ccf78..2567df20cd5 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt @@ -1,4 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects +// IGNORE_BACKEND: JS_IR // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt index abe6f5ca198..3c1a684d0be 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt @@ -1,4 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects +// IGNORE_BACKEND: JS_IR // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt index 55334ec1fda..f3b2c59a0f3 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt @@ -1,4 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects +// IGNORE_BACKEND: JS_IR // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR // FILE: common.kt diff --git a/compiler/testData/codegen/box/objects/kt11117.kt b/compiler/testData/codegen/box/objects/kt11117.kt index c897fa37c8c..439f80a6723 100644 --- a/compiler/testData/codegen/box/objects/kt11117.kt +++ b/compiler/testData/codegen/box/objects/kt11117.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A(val value: String) fun A.test(): String { diff --git a/compiler/testData/codegen/box/regressions/kt10143.kt b/compiler/testData/codegen/box/regressions/kt10143.kt index de4f426bacc..33a0cbbce16 100644 --- a/compiler/testData/codegen/box/regressions/kt10143.kt +++ b/compiler/testData/codegen/box/regressions/kt10143.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: Outer.kt package another diff --git a/compiler/testData/codegen/box/regressions/kt13381.kt b/compiler/testData/codegen/box/regressions/kt13381.kt index 2c172687bb2..9bbaca3c317 100644 --- a/compiler/testData/codegen/box/regressions/kt13381.kt +++ b/compiler/testData/codegen/box/regressions/kt13381.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR interface A { // There must be no delegation methods for 'log' and 'bar' in C as they are private private val log: String get() = "O" diff --git a/compiler/testData/codegen/box/secondaryConstructors/innerClasses.kt b/compiler/testData/codegen/box/secondaryConstructors/innerClasses.kt index d13eddb8647..e19fc037b7a 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/innerClasses.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/innerClasses.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR class Outer { val outerProp: String constructor(x: String) { diff --git a/compiler/testData/codegen/box/secondaryConstructors/innerClassesInheritance.kt b/compiler/testData/codegen/box/secondaryConstructors/innerClassesInheritance.kt index ecec33a9a4e..bfe9e2e4477 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/innerClassesInheritance.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/innerClassesInheritance.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR class Outer { val outerProp: String constructor(x: String) { diff --git a/compiler/testData/codegen/box/strings/kt2592.kt b/compiler/testData/codegen/box/strings/kt2592.kt index 8b6562e0dcd..013ad56f0d6 100644 --- a/compiler/testData/codegen/box/strings/kt2592.kt +++ b/compiler/testData/codegen/box/strings/kt2592.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun box(): String { String() return String() + "OK" + String() diff --git a/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericConstructor.kt b/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericConstructor.kt index 37708d310cf..9a97980a5a6 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericConstructor.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { A.Nested().nestedA() A.Nested().Inner().innerA() diff --git a/compiler/testData/codegen/box/traits/traitWithPrivateMember.kt b/compiler/testData/codegen/box/traits/traitWithPrivateMember.kt index 81a36f10918..636c5857df9 100644 --- a/compiler/testData/codegen/box/traits/traitWithPrivateMember.kt +++ b/compiler/testData/codegen/box/traits/traitWithPrivateMember.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR interface Z { fun testFun() : String { diff --git a/compiler/testData/codegen/box/traits/traitWithPrivateMemberAccessFromLambda.kt b/compiler/testData/codegen/box/traits/traitWithPrivateMemberAccessFromLambda.kt index 08999b5a85c..ffa72888bec 100644 --- a/compiler/testData/codegen/box/traits/traitWithPrivateMemberAccessFromLambda.kt +++ b/compiler/testData/codegen/box/traits/traitWithPrivateMemberAccessFromLambda.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR interface Z { fun testFun(): String { diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt index 71015f020aa..2f5cfe7aa0e 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt @@ -1,6 +1,4 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject +ProperIeee754Comparisons -// IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR val az: Any = -0.0 val afz: Any = -0.0f diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/innerClassConstuctorReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/innerClassConstuctorReference.kt index a600045f688..197495daf5b 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/innerClassConstuctorReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/innerClassConstuctorReference.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // FILE: 1.kt // LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkLambdaClassesArePresent.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkLambdaClassesArePresent.kt index 0db4d653b8e..41a93022f21 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkLambdaClassesArePresent.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkLambdaClassesArePresent.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticLambdaClassesArePresent.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticLambdaClassesArePresent.kt index e4b480c591b..40a37f4dd13 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticLambdaClassesArePresent.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticLambdaClassesArePresent.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClash.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClash.kt index 45fda813be7..0b747ca9d54 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClash.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClash.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // FILE: 1.kt // LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClashInClass.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClashInClass.kt index fa0979ff1d4..5846750ba3a 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClashInClass.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClashInClass.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // FILE: 1.kt // LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default diff --git a/compiler/testData/codegen/boxInline/noInline/noInlineLambdaChain.kt b/compiler/testData/codegen/boxInline/noInline/noInlineLambdaChain.kt index f4e50a39909..541efe7cbf3 100644 --- a/compiler/testData/codegen/boxInline/noInline/noInlineLambdaChain.kt +++ b/compiler/testData/codegen/boxInline/noInline/noInlineLambdaChain.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt package test diff --git a/js/js.translator/testData/box/examples/propertyInInitializer.kt b/js/js.translator/testData/box/examples/propertyInInitializer.kt index 1c09a743b74..e4f684871f7 100644 --- a/js/js.translator/testData/box/examples/propertyInInitializer.kt +++ b/js/js.translator/testData/box/examples/propertyInInitializer.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1119 class Outer() { val s = "xyzzy" diff --git a/js/js.translator/testData/box/expression/when/whenNotType.kt b/js/js.translator/testData/box/expression/when/whenNotType.kt index f9593ca3d42..be95f539425 100644 --- a/js/js.translator/testData/box/expression/when/whenNotType.kt +++ b/js/js.translator/testData/box/expression/when/whenNotType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1110 package foo diff --git a/js/js.translator/testData/box/inlineMultiFile/lambdaCloning.kt b/js/js.translator/testData/box/inlineMultiFile/lambdaCloning.kt index 577cd58d506..9acf1370645 100644 --- a/js/js.translator/testData/box/inlineMultiFile/lambdaCloning.kt +++ b/js/js.translator/testData/box/inlineMultiFile/lambdaCloning.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1113 /* * Copy of JVM-backend test diff --git a/js/js.translator/testData/box/inlineMultiFile/lambdaInLambdaNoInline.kt b/js/js.translator/testData/box/inlineMultiFile/lambdaInLambdaNoInline.kt index e712a359af9..a82d62c51a0 100644 --- a/js/js.translator/testData/box/inlineMultiFile/lambdaInLambdaNoInline.kt +++ b/js/js.translator/testData/box/inlineMultiFile/lambdaInLambdaNoInline.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1124 /* * Copy of JVM-backend test diff --git a/js/js.translator/testData/box/multiFile/classOfTheSameNameInAnotherPackage.kt b/js/js.translator/testData/box/multiFile/classOfTheSameNameInAnotherPackage.kt index 23cef94edc3..a3f9a354ff1 100644 --- a/js/js.translator/testData/box/multiFile/classOfTheSameNameInAnotherPackage.kt +++ b/js/js.translator/testData/box/multiFile/classOfTheSameNameInAnotherPackage.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1116 // FILE: A.kt package foo diff --git a/js/js.translator/testData/box/multiFile/packageAndPrivateDeclarationDoNotClash.kt b/js/js.translator/testData/box/multiFile/packageAndPrivateDeclarationDoNotClash.kt index 183a714da46..74a5c351d09 100644 --- a/js/js.translator/testData/box/multiFile/packageAndPrivateDeclarationDoNotClash.kt +++ b/js/js.translator/testData/box/multiFile/packageAndPrivateDeclarationDoNotClash.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1115 // FILE: foo.kt package foo diff --git a/js/js.translator/testData/box/nameClashes/methodAndPrivateProperty.kt b/js/js.translator/testData/box/nameClashes/methodAndPrivateProperty.kt index 6c966228f4b..3e32fa8ea43 100644 --- a/js/js.translator/testData/box/nameClashes/methodAndPrivateProperty.kt +++ b/js/js.translator/testData/box/nameClashes/methodAndPrivateProperty.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1114 package foo diff --git a/js/js.translator/testData/box/native/inheritanceFromNativeTrait.kt b/js/js.translator/testData/box/native/inheritanceFromNativeTrait.kt index 41deab8acfb..75cbc379a95 100644 --- a/js/js.translator/testData/box/native/inheritanceFromNativeTrait.kt +++ b/js/js.translator/testData/box/native/inheritanceFromNativeTrait.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1129 package foo diff --git a/js/js.translator/testData/box/native/undefined.kt b/js/js.translator/testData/box/native/undefined.kt index a9f16bc7f8f..78ea7631a71 100644 --- a/js/js.translator/testData/box/native/undefined.kt +++ b/js/js.translator/testData/box/native/undefined.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1119 package foo diff --git a/js/js.translator/testData/box/propertyOverride/overloadPrivateVal.kt b/js/js.translator/testData/box/propertyOverride/overloadPrivateVal.kt index 1288075646b..c2bf52deede 100644 --- a/js/js.translator/testData/box/propertyOverride/overloadPrivateVal.kt +++ b/js/js.translator/testData/box/propertyOverride/overloadPrivateVal.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1119 package foo diff --git a/js/js.translator/testData/box/reflection/external.kt b/js/js.translator/testData/box/reflection/external.kt index 6035b58fb3d..a842405f13b 100644 --- a/js/js.translator/testData/box/reflection/external.kt +++ b/js/js.translator/testData/box/reflection/external.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1221 external class A