diff --git a/compiler/testData/codegen/box/arrays/stdlib.kt b/compiler/testData/codegen/box/arrays/stdlib.kt index ade5cbb0894..41f1090eba1 100644 --- a/compiler/testData/codegen/box/arrays/stdlib.kt +++ b/compiler/testData/codegen/box/arrays/stdlib.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface ISized { val size : Int } diff --git a/compiler/testData/codegen/box/bridges/covariantGenericDiamond.kt b/compiler/testData/codegen/box/bridges/covariantGenericDiamond.kt index 6d2727174cb..3292015fd01 100644 --- a/compiler/testData/codegen/box/bridges/covariantGenericDiamond.kt +++ b/compiler/testData/codegen/box/bridges/covariantGenericDiamond.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface A { val result: Any } @@ -9,4 +8,4 @@ interface B : A { abstract class AImpl(override val result: Self) : A class BImpl(result: String) : AImpl(result), B -fun box(): String = (BImpl("OK") as B).result \ No newline at end of file +fun box(): String = (BImpl("OK") as B).result diff --git a/compiler/testData/codegen/box/bridges/delegationComplex.kt b/compiler/testData/codegen/box/bridges/delegationComplex.kt index 5e0b395124a..77af8d7e9b5 100644 --- a/compiler/testData/codegen/box/bridges/delegationComplex.kt +++ b/compiler/testData/codegen/box/bridges/delegationComplex.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Content() { override fun toString() = "OK" } diff --git a/compiler/testData/codegen/box/bridges/delegationComplexWithList.kt b/compiler/testData/codegen/box/bridges/delegationComplexWithList.kt index 8122ed82ae4..c275716ddf7 100644 --- a/compiler/testData/codegen/box/bridges/delegationComplexWithList.kt +++ b/compiler/testData/codegen/box/bridges/delegationComplexWithList.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/bridges/fakeCovariantOverride.kt b/compiler/testData/codegen/box/bridges/fakeCovariantOverride.kt index 2864879a755..e62de29d55a 100644 --- a/compiler/testData/codegen/box/bridges/fakeCovariantOverride.kt +++ b/compiler/testData/codegen/box/bridges/fakeCovariantOverride.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KT-4145 interface A { diff --git a/compiler/testData/codegen/box/bridges/fakeGenericCovariantOverride.kt b/compiler/testData/codegen/box/bridges/fakeGenericCovariantOverride.kt index 57c4d4570ec..ffff9f297e4 100644 --- a/compiler/testData/codegen/box/bridges/fakeGenericCovariantOverride.kt +++ b/compiler/testData/codegen/box/bridges/fakeGenericCovariantOverride.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KT-3985 interface Trait { diff --git a/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt b/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt index d8f7e003e2b..698b6a8bf27 100644 --- a/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt +++ b/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface A { fun foo(): Any } diff --git a/compiler/testData/codegen/box/bridges/genericProperty.kt b/compiler/testData/codegen/box/bridges/genericProperty.kt index 7593dcb60da..be4000a62e3 100644 --- a/compiler/testData/codegen/box/bridges/genericProperty.kt +++ b/compiler/testData/codegen/box/bridges/genericProperty.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class A { var size: T = 56 as T } diff --git a/compiler/testData/codegen/box/builtinStubMethods/delegationToArrayList.kt b/compiler/testData/codegen/box/builtinStubMethods/delegationToArrayList.kt index 6c6c3f1c3f4..b9436fab469 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/delegationToArrayList.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/delegationToArrayList.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR import java.util.ArrayList diff --git a/compiler/testData/codegen/box/callableReference/function/local/enumExtendsTrait.kt b/compiler/testData/codegen/box/callableReference/function/local/enumExtendsTrait.kt index 75ee1c10ecb..5ae74283aee 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/enumExtendsTrait.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/enumExtendsTrait.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface Named { val name: String } diff --git a/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt index d3b79754794..ba84efefebb 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt index 4d04d780c68..f3f382bde0c 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt index d0fd7ff4202..44ec882a87b 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt index cca2b1e2112..812b77298a0 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt index a28089d3f5a..25120f2f2a7 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt index 3921127de4a..327fa12b5b7 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/classes/delegationJava.kt b/compiler/testData/codegen/box/classes/delegationJava.kt index 7aae93ec40b..d845d9a3c09 100644 --- a/compiler/testData/codegen/box/classes/delegationJava.kt +++ b/compiler/testData/codegen/box/classes/delegationJava.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // Enable for JS when it supports Java class library. diff --git a/compiler/testData/codegen/box/collections/irrelevantRemoveAtOverrideInJava.kt b/compiler/testData/codegen/box/collections/irrelevantRemoveAtOverrideInJava.kt index 29acb9268ab..41af923e660 100644 --- a/compiler/testData/codegen/box/collections/irrelevantRemoveAtOverrideInJava.kt +++ b/compiler/testData/codegen/box/collections/irrelevantRemoveAtOverrideInJava.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // FILE: J.java diff --git a/compiler/testData/codegen/box/defaultArguments/implementedByFake.kt b/compiler/testData/codegen/box/defaultArguments/implementedByFake.kt index 1393ef4c1c5..ee26f2909a3 100644 --- a/compiler/testData/codegen/box/defaultArguments/implementedByFake.kt +++ b/compiler/testData/codegen/box/defaultArguments/implementedByFake.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR - interface I { val prop: T @@ -37,4 +35,4 @@ fun box(): String { if (result != "qwe") return "fail3: $result" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/defaultArguments/implementedByFake2.kt b/compiler/testData/codegen/box/defaultArguments/implementedByFake2.kt index b32e0f1856d..c175599772f 100644 --- a/compiler/testData/codegen/box/defaultArguments/implementedByFake2.kt +++ b/compiler/testData/codegen/box/defaultArguments/implementedByFake2.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR - interface I { val prop: T @@ -39,4 +37,4 @@ fun box(): String { if (result != "qwe") return "fail3: $result" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/defaultArguments/implementedByFake3.kt b/compiler/testData/codegen/box/defaultArguments/implementedByFake3.kt index 3544f58701b..db046c58477 100644 --- a/compiler/testData/codegen/box/defaultArguments/implementedByFake3.kt +++ b/compiler/testData/codegen/box/defaultArguments/implementedByFake3.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR - interface I { val prop: T @@ -45,4 +43,4 @@ fun box(): String { if (result != "qwe") return "fail3: $result" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/delegation/delegationWithPrivateConstructor.kt b/compiler/testData/codegen/box/delegation/delegationWithPrivateConstructor.kt index ab0cec66d5c..0fcef72f872 100644 --- a/compiler/testData/codegen/box/delegation/delegationWithPrivateConstructor.kt +++ b/compiler/testData/codegen/box/delegation/delegationWithPrivateConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class MyObject private constructor(val delegate: Interface) : Interface by delegate { constructor() : this(Delegate()) } @@ -15,4 +14,4 @@ private interface Interface { fun box(): String { return MyObject().greet() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/delegation/withDefaultParameters.kt b/compiler/testData/codegen/box/delegation/withDefaultParameters.kt index 2ea3e717c36..6579a3c7e93 100644 --- a/compiler/testData/codegen/box/delegation/withDefaultParameters.kt +++ b/compiler/testData/codegen/box/delegation/withDefaultParameters.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR - var log = "" fun log(a: String) { log += a + ";" @@ -57,4 +55,4 @@ fun box(): String { if (log != "C.foo(2);C.foo(1);[2] object:C.foo(2);[2] object:C.foo(1);") return "fail2: $log" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionProperties/nonAbstractInInterface.kt b/compiler/testData/codegen/box/extensionProperties/nonAbstractInInterface.kt index d2f6904dbd7..495710a28d4 100644 --- a/compiler/testData/codegen/box/extensionProperties/nonAbstractInInterface.kt +++ b/compiler/testData/codegen/box/extensionProperties/nonAbstractInInterface.kt @@ -16,4 +16,4 @@ fun box(): String { if (r != "test;C.bar") return "fail: $r" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt index d03d188e318..6fa8b088d3e 100644 --- a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt +++ b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val s: String) diff --git a/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt b/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt index a5acd41f94c..5156b75eded 100644 --- a/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt +++ b/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt @@ -1,5 +1,4 @@ // !LANGUAGE: -AdditionalBuiltInsMembers -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/delegation.kt b/compiler/testData/codegen/box/parametersMetadata/delegation.kt index fe1f498d157..d81430d184f 100644 --- a/compiler/testData/codegen/box/parametersMetadata/delegation.kt +++ b/compiler/testData/codegen/box/parametersMetadata/delegation.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/genericSignature/delegatedMembers.kt b/compiler/testData/codegen/box/reflection/genericSignature/delegatedMembers.kt index 42e3bf2b87d..d07dedaacfe 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/delegatedMembers.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/delegatedMembers.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: J.java diff --git a/compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt b/compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt index 9ed1dab5b80..434c332237d 100644 --- a/compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt +++ b/compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface Ordinaled { val ordinal: Int } @@ -14,4 +13,4 @@ fun box(): String { if (result != 0) return "fail 1: $result" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt b/compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt index ca919e2959d..747fb11092b 100644 --- a/compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt +++ b/compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE interface Container { diff --git a/compiler/testData/codegen/box/toArray/toArray.kt b/compiler/testData/codegen/box/toArray/toArray.kt index 38e3a79ab3e..6f6bb91b346 100644 --- a/compiler/testData/codegen/box/toArray/toArray.kt +++ b/compiler/testData/codegen/box/toArray/toArray.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME class MyCollection(val delegate: Collection): Collection by delegate diff --git a/compiler/testData/codegen/box/toArray/toArrayAlreadyPresent.kt b/compiler/testData/codegen/box/toArray/toArrayAlreadyPresent.kt index fed89154603..726ec071d80 100644 --- a/compiler/testData/codegen/box/toArray/toArrayAlreadyPresent.kt +++ b/compiler/testData/codegen/box/toArray/toArrayAlreadyPresent.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import java.util.Arrays diff --git a/compiler/testData/codegen/box/toArray/toArrayFromJava.kt b/compiler/testData/codegen/box/toArray/toArrayFromJava.kt index 201c6f1f58b..4ee49bb44ef 100644 --- a/compiler/testData/codegen/box/toArray/toArrayFromJava.kt +++ b/compiler/testData/codegen/box/toArray/toArrayFromJava.kt @@ -1,7 +1,6 @@ // TARGET_BACKEND: JVM // The old backend thinks `toArray(): Array` is the same as `toArray(): Array` // IGNORE_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // FILE: MyListWithCustomToArray.java diff --git a/compiler/testData/codegen/box/traits/diamondPropertyAccessors.kt b/compiler/testData/codegen/box/traits/diamondPropertyAccessors.kt index 812367d38f8..e1c4d7a6b36 100644 --- a/compiler/testData/codegen/box/traits/diamondPropertyAccessors.kt +++ b/compiler/testData/codegen/box/traits/diamondPropertyAccessors.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface A { var bar: Boolean get() = false diff --git a/compiler/testData/codegen/box/traits/doubleDiamond.kt b/compiler/testData/codegen/box/traits/doubleDiamond.kt index 60a83a7de16..4046c204ab0 100644 --- a/compiler/testData/codegen/box/traits/doubleDiamond.kt +++ b/compiler/testData/codegen/box/traits/doubleDiamond.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR - interface A { val result: String get() = "Fail" } diff --git a/compiler/testData/codegen/box/traits/kt3500.kt b/compiler/testData/codegen/box/traits/kt3500.kt index 9b9a8a72d14..d04122e5e41 100644 --- a/compiler/testData/codegen/box/traits/kt3500.kt +++ b/compiler/testData/codegen/box/traits/kt3500.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface BK { fun foo(): String = 10.toString() } @@ -13,4 +12,4 @@ class A : BK, KTrait { fun box(): String { return if (A().foo() == "30") "OK" else "fail" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/traits/traitImplDiamond.kt b/compiler/testData/codegen/box/traits/traitImplDiamond.kt index dd0cc61c8fe..4d11997cb2a 100644 --- a/compiler/testData/codegen/box/traits/traitImplDiamond.kt +++ b/compiler/testData/codegen/box/traits/traitImplDiamond.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface A { fun foo() = "Fail" } diff --git a/compiler/testData/codegen/boxAgainstJava/throws/delegationAndThrows.kt b/compiler/testData/codegen/boxAgainstJava/throws/delegationAndThrows.kt index 6a2d41ff92e..fff6cb67ef1 100644 --- a/compiler/testData/codegen/boxAgainstJava/throws/delegationAndThrows.kt +++ b/compiler/testData/codegen/boxAgainstJava/throws/delegationAndThrows.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: A.java diff --git a/compiler/testData/codegen/bytecodeText/bridgeForFakeOverride.kt b/compiler/testData/codegen/bytecodeText/bridgeForFakeOverride.kt index a7c09880025..2f481c74fc3 100644 --- a/compiler/testData/codegen/bytecodeText/bridgeForFakeOverride.kt +++ b/compiler/testData/codegen/bytecodeText/bridgeForFakeOverride.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface A { fun foo(): Any } diff --git a/compiler/testData/codegen/bytecodeText/interfaces/addedInterfaceBridge.kt b/compiler/testData/codegen/bytecodeText/interfaces/addedInterfaceBridge.kt index 080dbc65c3c..99ef633275c 100644 --- a/compiler/testData/codegen/bytecodeText/interfaces/addedInterfaceBridge.kt +++ b/compiler/testData/codegen/bytecodeText/interfaces/addedInterfaceBridge.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface A { fun f(x: T): T } diff --git a/compiler/testData/codegen/bytecodeText/jvm8/hashCode/hashCode.kt b/compiler/testData/codegen/bytecodeText/jvm8/hashCode/hashCode.kt index fdbac019ff0..bffb0fbd2fa 100644 --- a/compiler/testData/codegen/bytecodeText/jvm8/hashCode/hashCode.kt +++ b/compiler/testData/codegen/bytecodeText/jvm8/hashCode/hashCode.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // JVM_TARGET: 1.8 fun box(): String {