diff --git a/compiler/testData/codegen/box/classes/kt6136.kt b/compiler/testData/codegen/box/classes/kt6136.kt index 09e0a805e71..14a14e1c4e0 100644 --- a/compiler/testData/codegen/box/classes/kt6136.kt +++ b/compiler/testData/codegen/box/classes/kt6136.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR interface Id { val id: T } diff --git a/compiler/testData/codegen/box/dataClasses/copy/kt3033.kt b/compiler/testData/codegen/box/dataClasses/copy/kt3033.kt index 14c92ac405f..7fc12756d88 100644 --- a/compiler/testData/codegen/box/dataClasses/copy/kt3033.kt +++ b/compiler/testData/codegen/box/dataClasses/copy/kt3033.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR data class A(val a: Double, val b: Double) fun box() : String { diff --git a/compiler/testData/codegen/box/dataClasses/copy/valInConstructorParams.kt b/compiler/testData/codegen/box/dataClasses/copy/valInConstructorParams.kt index 22385985f85..a340685014e 100644 --- a/compiler/testData/codegen/box/dataClasses/copy/valInConstructorParams.kt +++ b/compiler/testData/codegen/box/dataClasses/copy/valInConstructorParams.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR data class A(val a: Int, val b: String) {} fun box() : String { diff --git a/compiler/testData/codegen/box/dataClasses/copy/varInConstructorParams.kt b/compiler/testData/codegen/box/dataClasses/copy/varInConstructorParams.kt index e6a0aa51bc8..6cd1a25ae2c 100644 --- a/compiler/testData/codegen/box/dataClasses/copy/varInConstructorParams.kt +++ b/compiler/testData/codegen/box/dataClasses/copy/varInConstructorParams.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR data class A(var a: Int, var b: String) {} fun box() : String { diff --git a/compiler/testData/codegen/box/dataClasses/copy/withSecondaryConstructor.kt b/compiler/testData/codegen/box/dataClasses/copy/withSecondaryConstructor.kt index e27a787cf5b..f997cea7708 100644 --- a/compiler/testData/codegen/box/dataClasses/copy/withSecondaryConstructor.kt +++ b/compiler/testData/codegen/box/dataClasses/copy/withSecondaryConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR data class A(val o: String, val k: String) { constructor() : this("O", "k") } diff --git a/compiler/testData/codegen/box/defaultArguments/convention/kt9140.kt b/compiler/testData/codegen/box/defaultArguments/convention/kt9140.kt index 982bd7fb19b..ea677b74a84 100644 --- a/compiler/testData/codegen/box/defaultArguments/convention/kt9140.kt +++ b/compiler/testData/codegen/box/defaultArguments/convention/kt9140.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class X { operator fun get(name: String, type: String = "none") = name + type } diff --git a/compiler/testData/codegen/box/defaultArguments/convention/plusAssignWithDefaultInGetter.kt b/compiler/testData/codegen/box/defaultArguments/convention/plusAssignWithDefaultInGetter.kt index ef0c933d5f6..0b6f63450de 100644 --- a/compiler/testData/codegen/box/defaultArguments/convention/plusAssignWithDefaultInGetter.kt +++ b/compiler/testData/codegen/box/defaultArguments/convention/plusAssignWithDefaultInGetter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class X { var result: String = "fail" diff --git a/compiler/testData/codegen/box/defaultArguments/function/abstractClass.kt b/compiler/testData/codegen/box/defaultArguments/function/abstractClass.kt index b7d2a3e9b91..c1cc5d0bd9e 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/abstractClass.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/abstractClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR abstract class Base { abstract fun foo(a: String = "abc"): String } diff --git a/compiler/testData/codegen/box/defaultArguments/function/covariantOverride.kt b/compiler/testData/codegen/box/defaultArguments/function/covariantOverride.kt index 39793faf500..b2ad3e749c2 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/covariantOverride.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/covariantOverride.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR open class Foo { open fun foo(x: CharSequence = "O"): CharSequence = x } diff --git a/compiler/testData/codegen/box/defaultArguments/function/covariantOverrideGeneric.kt b/compiler/testData/codegen/box/defaultArguments/function/covariantOverrideGeneric.kt index 98cff251ffc..9f24919d51d 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/covariantOverrideGeneric.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/covariantOverrideGeneric.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR open class Foo { open fun foo(x: CharSequence = "O"): CharSequence = x } diff --git a/compiler/testData/codegen/box/defaultArguments/function/extentionFunction.kt b/compiler/testData/codegen/box/defaultArguments/function/extentionFunction.kt index 694725fcc6b..b985d4b6467 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/extentionFunction.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/extentionFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Int.foo(a: Int = 1): Int { return a } diff --git a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDouble.kt b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDouble.kt index b0a2afed1dc..8b4b1fbd712 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDouble.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDouble.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Double.foo(a: Double = 1.0): Double { return a } diff --git a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDoubleTwoArgs.kt b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDoubleTwoArgs.kt index 489a9af9250..9c36a1335a3 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDoubleTwoArgs.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDoubleTwoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Double.foo(a: Double = 1.0, b: Double = 1.0): Double { return a + b } diff --git a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInClassObject.kt b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInClassObject.kt index 25de5860d76..876be1766c2 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInClassObject.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInClassObject.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A { companion object { fun Int.foo(a: Int = 1): Int { diff --git a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInObject.kt b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInObject.kt index 0395bff4008..d16105ac6b3 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInObject.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInObject.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR object A { fun Int.foo(a: Int = 1): Int { return a diff --git a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionWithOneDefArg.kt b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionWithOneDefArg.kt index ae47e1e63a2..c905daed1b2 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionWithOneDefArg.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/extentionFunctionWithOneDefArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Int.foo(a: Int = 1, b: String): Int { return a } diff --git a/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunction.kt b/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunction.kt index 811f80e662e..35a3e575fe4 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunction.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A { fun Int.foo(a: Int = 1): Int { return a diff --git a/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDouble.kt b/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDouble.kt index 6d06b20af96..a18b571e32b 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDouble.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDouble.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A { fun Double.foo(a: Double = 1.0): Double { return a diff --git a/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDoubleTwoArgs.kt b/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDoubleTwoArgs.kt index a3da1ae069d..844f5e88ef4 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDoubleTwoArgs.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDoubleTwoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A { fun Double.foo(a: Double = 1.0, b: Double = 1.0): Double { return a + b diff --git a/compiler/testData/codegen/box/defaultArguments/function/memberFunctionManyArgs.kt b/compiler/testData/codegen/box/defaultArguments/function/memberFunctionManyArgs.kt index 0525e9da6ea..def2549e106 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/memberFunctionManyArgs.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/memberFunctionManyArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A() { fun foo(a: Int = 1, b: Int = 2, diff --git a/compiler/testData/codegen/box/defaultArguments/function/topLevelManyArgs.kt b/compiler/testData/codegen/box/defaultArguments/function/topLevelManyArgs.kt index d32b4bb5242..1086f23b45f 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/topLevelManyArgs.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/topLevelManyArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun foo(a: Int = 1, b: Int = 2, c: Int = 3, diff --git a/compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt b/compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt index a37ad9252c2..01167805ef4 100644 --- a/compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt +++ b/compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A { private fun Int.foo(other: Int = 5): Int = this + other diff --git a/compiler/testData/codegen/box/defaultArguments/private/memberFunction.kt b/compiler/testData/codegen/box/defaultArguments/private/memberFunction.kt index 3f847c1b89d..64fe7c2de65 100644 --- a/compiler/testData/codegen/box/defaultArguments/private/memberFunction.kt +++ b/compiler/testData/codegen/box/defaultArguments/private/memberFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // KT-5786 NoSuchMethodError: no accessor for private fun with default arguments class A { diff --git a/compiler/testData/codegen/box/defaultArguments/signature/kt9428.kt b/compiler/testData/codegen/box/defaultArguments/signature/kt9428.kt index 7c6c00db18d..b9d89105d37 100644 --- a/compiler/testData/codegen/box/defaultArguments/signature/kt9428.kt +++ b/compiler/testData/codegen/box/defaultArguments/signature/kt9428.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR open class Player(val name: String) open class SlashPlayer(name: String) : Player(name) diff --git a/compiler/testData/codegen/box/defaultArguments/simpleFromOtherFile.kt b/compiler/testData/codegen/box/defaultArguments/simpleFromOtherFile.kt index ea3227f14b4..e039250e9ef 100644 --- a/compiler/testData/codegen/box/defaultArguments/simpleFromOtherFile.kt +++ b/compiler/testData/codegen/box/defaultArguments/simpleFromOtherFile.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt fun box() = ok() diff --git a/compiler/testData/codegen/box/extensionFunctions/kt3969.kt b/compiler/testData/codegen/box/extensionFunctions/kt3969.kt index cca16e35542..1e34286ea50 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt3969.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt3969.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR var result = "Fail" class A diff --git a/compiler/testData/codegen/box/functions/defaultargs.kt b/compiler/testData/codegen/box/functions/defaultargs.kt index 4178ad4f2d3..726a4d4db10 100644 --- a/compiler/testData/codegen/box/functions/defaultargs.kt +++ b/compiler/testData/codegen/box/functions/defaultargs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR open abstract class B { fun foo(arg: Int = 239 + 1) : Int = arg } diff --git a/compiler/testData/codegen/box/functions/defaultargs5.kt b/compiler/testData/codegen/box/functions/defaultargs5.kt index 1bbac4ceb94..91dc6f6be40 100644 --- a/compiler/testData/codegen/box/functions/defaultargs5.kt +++ b/compiler/testData/codegen/box/functions/defaultargs5.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR open abstract class B { abstract fun foo2(arg: Int = 239) : Int } diff --git a/compiler/testData/codegen/box/functions/defaultargs7.kt b/compiler/testData/codegen/box/functions/defaultargs7.kt index 6b413710598..107929fad00 100644 --- a/compiler/testData/codegen/box/functions/defaultargs7.kt +++ b/compiler/testData/codegen/box/functions/defaultargs7.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A(val expected: Int) { fun foo(x: Int, y: Int = x + 20, z: Int = y * 2) = z == expected } diff --git a/compiler/testData/codegen/box/functions/kt2271.kt b/compiler/testData/codegen/box/functions/kt2271.kt index 284ef7a8b87..efc623a6519 100644 --- a/compiler/testData/codegen/box/functions/kt2271.kt +++ b/compiler/testData/codegen/box/functions/kt2271.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun foo(i: Int, j: Int = i) = j fun box() = if (foo(1) == 1) "OK" else "fail" diff --git a/compiler/testData/codegen/box/localClasses/localDataClass.kt b/compiler/testData/codegen/box/localClasses/localDataClass.kt index 4ae118b8991..33cf16258d2 100644 --- a/compiler/testData/codegen/box/localClasses/localDataClass.kt +++ b/compiler/testData/codegen/box/localClasses/localDataClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun box(): String { val capturedInConstructor = 1 diff --git a/compiler/testData/codegen/boxInline/defaultValues/33Parameters.kt b/compiler/testData/codegen/boxInline/defaultValues/33Parameters.kt index 091ad034f4c..50a8bbc1fa4 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/33Parameters.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/33Parameters.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/defaultValues/inlineInDefaultParameter.kt b/compiler/testData/codegen/boxInline/defaultValues/inlineInDefaultParameter.kt index 7af2be99c37..191d6171085 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/inlineInDefaultParameter.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/inlineInDefaultParameter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt package test diff --git a/js/js.translator/testData/box/dataClass/copy.kt b/js/js.translator/testData/box/dataClass/copy.kt index f2187b6cb52..706a760f3ac 100644 --- a/js/js.translator/testData/box/dataClass/copy.kt +++ b/js/js.translator/testData/box/dataClass/copy.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1118 package foo diff --git a/js/js.translator/testData/box/defaultArguments/complexExpressionAsDefaultArgument.kt b/js/js.translator/testData/box/defaultArguments/complexExpressionAsDefaultArgument.kt index c0d84278520..d4f217aafcf 100644 --- a/js/js.translator/testData/box/defaultArguments/complexExpressionAsDefaultArgument.kt +++ b/js/js.translator/testData/box/defaultArguments/complexExpressionAsDefaultArgument.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1116 // http://youtrack.jetbrains.com/issue/KT-4879 // JS: extra side effect when use when in default arguments diff --git a/js/js.translator/testData/box/defaultArguments/complexExpressionAsOverriddenDefaultArgument.kt b/js/js.translator/testData/box/defaultArguments/complexExpressionAsOverriddenDefaultArgument.kt index b332a86bcbc..78ebbc217ce 100644 --- a/js/js.translator/testData/box/defaultArguments/complexExpressionAsOverriddenDefaultArgument.kt +++ b/js/js.translator/testData/box/defaultArguments/complexExpressionAsOverriddenDefaultArgument.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1130 // http://youtrack.jetbrains.com/issue/KT-4879 // JS: extra side effect when use when in default arguments diff --git a/js/js.translator/testData/box/defaultArguments/defaultArgumentsInFunctionWithExpressionAsBody.kt b/js/js.translator/testData/box/defaultArguments/defaultArgumentsInFunctionWithExpressionAsBody.kt index 4decff29857..b28f7366cee 100644 --- a/js/js.translator/testData/box/defaultArguments/defaultArgumentsInFunctionWithExpressionAsBody.kt +++ b/js/js.translator/testData/box/defaultArguments/defaultArgumentsInFunctionWithExpressionAsBody.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1117 // KT-6037: KT-6037 Javascript default function arguments fill code generated in wrong order on method without "return keyword" package foo diff --git a/js/js.translator/testData/box/defaultArguments/funInAbstractClassWithDefArg.kt b/js/js.translator/testData/box/defaultArguments/funInAbstractClassWithDefArg.kt index 83c6bf98236..c18ab341bd8 100644 --- a/js/js.translator/testData/box/defaultArguments/funInAbstractClassWithDefArg.kt +++ b/js/js.translator/testData/box/defaultArguments/funInAbstractClassWithDefArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1118 package foo diff --git a/js/js.translator/testData/box/defaultArguments/overloadFunWithDefArg.kt b/js/js.translator/testData/box/defaultArguments/overloadFunWithDefArg.kt index c82c8243046..cab4f4d726c 100644 --- a/js/js.translator/testData/box/defaultArguments/overloadFunWithDefArg.kt +++ b/js/js.translator/testData/box/defaultArguments/overloadFunWithDefArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1120 package foo diff --git a/js/js.translator/testData/box/expression/misc/KT-1865.kt b/js/js.translator/testData/box/expression/misc/KT-1865.kt index dcab5fc32bf..3ba032c380d 100644 --- a/js/js.translator/testData/box/expression/misc/KT-1865.kt +++ b/js/js.translator/testData/box/expression/misc/KT-1865.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1120 package foo diff --git a/js/js.translator/testData/box/expression/stringTemplates/stringValues.kt b/js/js.translator/testData/box/expression/stringTemplates/stringValues.kt index 30c3bc24c22..077b19cc22f 100644 --- a/js/js.translator/testData/box/expression/stringTemplates/stringValues.kt +++ b/js/js.translator/testData/box/expression/stringTemplates/stringValues.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1112 package foo diff --git a/js/js.translator/testData/box/inlineMultiFile/inlineInDefaultParameter.kt b/js/js.translator/testData/box/inlineMultiFile/inlineInDefaultParameter.kt index 0c94d875d70..bf7dc1482ba 100644 --- a/js/js.translator/testData/box/inlineMultiFile/inlineInDefaultParameter.kt +++ b/js/js.translator/testData/box/inlineMultiFile/inlineInDefaultParameter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1109 /* * Copy of JVM-backend test