From 9dd8eda1c943a6f91ba09604db4752edffbc54a9 Mon Sep 17 00:00:00 2001 From: Juan Chen Date: Wed, 19 Feb 2020 14:54:18 -0800 Subject: [PATCH] [FIR]: fix library methods in packages Library methods such as 'listOf' are resolved to have the package fragments as their parents, but JVM expects their containing file classes as parents. This fix generates those file classes and uses them as parent replacements for such library methods. --- .../kotlin/backend/jvm/JvmIrCodegenFactory.kt | 8 ++++++++ .../src/org/jetbrains/kotlin/ir/util/SymbolTable.kt | 11 +++++++++++ .../syntheticMethodForJvmStaticProperty.kt | 1 - .../box/annotations/syntheticMethodForProperty.kt | 1 - .../reversedArrayOriginalUpdatedInLoopBody.kt | 1 - ...rsedArrayReversedArrayOriginalUpdatedInLoopBody.kt | 1 - .../reversedOriginalUpdatedInLoopBody.kt | 1 - .../reversedReversedOriginalUpdatedInLoopBody.kt | 1 - .../assert/jvm/noUnnecessaryClassInitialization.kt | 1 - compiler/testData/codegen/box/binaryOp/bitwiseOp.kt | 1 - .../testData/codegen/box/binaryOp/bitwiseOpAny.kt | 1 - .../codegen/box/binaryOp/bitwiseOpNullable.kt | 1 - .../testData/codegen/box/boxingOptimization/fold.kt | 1 - .../codegen/box/boxingOptimization/foldRange.kt | 1 - .../testData/codegen/box/boxingOptimization/kt5844.kt | 1 - .../testData/codegen/box/boxingOptimization/kt6047.kt | 1 - .../testData/codegen/box/boxingOptimization/kt6842.kt | 1 - .../codegen/box/boxingOptimization/maxMinBy.kt | 1 - .../testData/codegen/box/boxingOptimization/simple.kt | 1 - .../boxingOptimization/simpleUninitializedMerge.kt | 1 - .../codegen/box/boxingOptimization/taintedValues.kt | 1 - .../bridges/noBridgeOnMutableCollectionInheritance.kt | 1 - .../function/genericCallableReferencesWithOverload.kt | 1 - .../function/topLevelFromTopLevelStringNoArgs.kt | 1 - .../serializability/boundWithSerializableReceiver.kt | 1 - .../callableReference/serializability/noReflect.kt | 1 - .../callableReference/serializability/withReflect.kt | 1 - .../varargAndDefaults/inlineDefault.kt | 1 - .../codegen/box/casts/functions/reifiedIsFunKBig.kt | 1 - .../codegen/box/casts/functions/reifiedIsFunKSmall.kt | 1 - .../codegen/box/casts/functions/safeAsFunKSmall.kt | 1 - .../capturedInInlineOnlyAssign.kt | 1 - .../capturedInInlineOnlyCAO.kt | 1 - .../inlineFunInConstructorCallEvaluationOrder.kt | 1 - ...neFunInConstructorCallWithDisabledNormalization.kt | 1 - ...ineFunInConstructorCallWithEnabledNormalization.kt | 1 - ...lineFunInConstructorCallWithStrictNormalization.kt | 1 - .../inlineFunInLocalClassConstructorCall.kt | 1 - .../loopInInlineFunWithEnabledNormalization.kt | 1 - .../codegen/box/controlStructures/continueInExpr.kt | 1 - .../box/controlStructures/continueInForCondition.kt | 1 - .../codegen/box/controlStructures/factorialTest.kt | 1 - .../codegen/box/controlStructures/forArrayList.kt | 1 - .../forInArray/forInArraySpecializedToUntil.kt | 1 - .../forInArrayWithIndex/forInEmptyArrayWithIndex.kt | 1 - .../forInGenericArrayOfIntsWithIndexWithSmartCast.kt | 1 - .../box/controlStructures/forInCharSequenceMut.kt | 1 - .../forInEmptyStringWithIndex.kt | 1 - .../forInIterableWithIndex/forInEmptyListWithIndex.kt | 1 - .../forInIterableTypeParameterWithIndex.kt | 1 - .../forInEmptySequenceWithIndex.kt | 1 - .../forInSequenceTypeParameterWithIndex.kt | 1 - .../box/deadCodeElimination/emptyVariableRange.kt | 1 - .../provideDelegate/differentReceivers.kt | 1 - .../box/delegatedProperty/provideDelegate/generic.kt | 1 - .../provideDelegate/inlineProvideDelegate.kt | 1 - .../provideDelegate/propertyMetadata.kt | 1 - .../box/destructuringDeclInLambdaParam/withIndexed.kt | 1 - compiler/testData/codegen/box/evaluate/kt9443.kt | 1 - compiler/testData/codegen/box/hashPMap/empty.kt | 1 - .../increment/augmentedAssignmentWithComplexRhs.kt | 1 - compiler/testData/codegen/box/intrinsics/kt10131.kt | 1 - compiler/testData/codegen/box/intrinsics/kt10131a.kt | 1 - compiler/testData/codegen/box/ir/classInitializers.kt | 1 - .../testData/codegen/box/ir/fileClassInitializers.kt | 1 - compiler/testData/codegen/box/jdk/useStream.kt | 1 - .../testData/codegen/box/jvm8/inlineFromStdlib.kt | 1 - .../codegen/box/jvmPackageName/multifileClass.kt | 1 - .../multifileClasses/optimized/internalFunction.kt | 1 - .../testData/codegen/box/nonLocalReturns/kt9644let.kt | 1 - ...nceToObjectInInlineLambdaInSuperConstructorCall.kt | 1 - .../testData/codegen/box/optimizations/kt20844.kt | 1 - .../codegen/box/parametersMetadata/defaultImpls.kt | 1 - .../testData/codegen/box/primitiveTypes/kt16732.kt | 1 - .../const/fpNonConstValProperlyInitialized.kt | 1 - compiler/testData/codegen/box/properties/kt1398.kt | 1 - .../box/properties/lateinit/local/localLateinit.kt | 1 - .../properties/lateinit/topLevel/topLevelLateinit.kt | 1 - .../box/ranges/contains/evaluationOrderForDownTo.kt | 1 - .../box/ranges/contains/generated/charDownTo.kt | 1 - .../box/ranges/contains/generated/charUntil.kt | 1 - .../box/ranges/contains/generated/intDownTo.kt | 1 - .../box/ranges/contains/generated/longDownTo.kt | 1 - .../testData/codegen/box/ranges/contains/inArray.kt | 1 - .../codegen/box/ranges/contains/inCharSequence.kt | 1 - .../codegen/box/ranges/contains/inIntRange.kt | 1 - .../codegen/box/ranges/contains/inIterable.kt | 1 - .../box/ranges/contains/inPrimitiveProgression.kt | 1 - .../box/ranges/contains/inRangeWithSmartCast.kt | 1 - .../box/ranges/contains/nullableInPrimitiveRange.kt | 1 - .../codegen/box/ranges/evaluationOrder/forInDownTo.kt | 1 - .../box/ranges/evaluationOrder/forInDownToReversed.kt | 1 - .../evaluationOrder/forInDownToReversedReversed.kt | 1 - .../box/ranges/evaluationOrder/forInRangeLiteral.kt | 1 - .../evaluationOrder/forInRangeLiteralReversed.kt | 1 - .../forInRangeLiteralReversedReversed.kt | 1 - .../codegen/box/ranges/evaluationOrder/forInUntil.kt | 1 - .../box/ranges/evaluationOrder/forInUntilReversed.kt | 1 - .../evaluationOrder/forInUntilReversedReversed.kt | 1 - .../codegen/box/ranges/expression/emptyDownto.kt | 1 - .../codegen/box/ranges/expression/emptyRange.kt | 1 - .../ranges/expression/reversedEmptyBackSequence.kt | 1 - .../box/ranges/expression/reversedEmptyRange.kt | 1 - .../forInCharSequenceLengthDecreasedInLoopBody.kt | 1 - .../forInCharSequenceLengthIncreasedInLoopBody.kt | 1 - .../codegen/box/ranges/forInDownTo/forIntInDownTo.kt | 1 - .../forInDownTo/forIntInDownToWithNonConstBounds.kt | 1 - .../ranges/forInDownTo/forIntInNonOptimizedDownTo.kt | 1 - .../codegen/box/ranges/forInDownTo/forLongInDownTo.kt | 1 - .../box/ranges/forInDownTo/forNullableIntInDownTo.kt | 1 - .../box/ranges/forInRangeWithImplicitReceiver.kt | 1 - .../forInReversed/ForInReversedReversedRange.kt | 1 - .../box/ranges/forInReversed/forInReversedDownTo.kt | 1 - .../box/ranges/forInReversed/forInReversedRange.kt | 1 - .../ranges/forInReversed/forInReversedRangeLiteral.kt | 1 - .../forInReversedRangeLiteralWithNonConstBounds.kt | 1 - .../forInReversed/forInReversedReversedDownTo.kt | 1 - .../forInReversedReversedReversedRange.kt | 1 - .../forInReversed/forInReversedReversedUntil.kt | 1 - .../forInReversedReversedUntilWithNonConstBounds.kt | 1 - .../box/ranges/forInReversed/forInReversedUntil.kt | 1 - .../forInReversedUntilWithNonConstBounds.kt | 1 - .../codegen/box/ranges/forInUntil/forInUntilChar.kt | 1 - .../codegen/box/ranges/forInUntil/forInUntilInt.kt | 1 - .../codegen/box/ranges/forInUntil/forInUntilLong.kt | 1 - .../ranges/forInUntil/forIntInIntUntilSmartcastInt.kt | 1 - .../forNullableIntInRangeWithImplicitReceiver.kt | 1 - .../ranges/javaInterop/javaArrayOfMaybeNullable.kt | 1 - .../javaInterop/javaCollectionOfExplicitNullable.kt | 1 - .../javaInterop/javaCollectionOfMaybeNullable.kt | 1 - .../codegen/box/ranges/literal/emptyDownto.kt | 1 - .../testData/codegen/box/ranges/literal/emptyRange.kt | 1 - .../box/ranges/literal/reversedEmptyBackSequence.kt | 1 - .../codegen/box/ranges/literal/reversedEmptyRange.kt | 1 - .../literal/downTo/nestedStep/stepOneThenStepOne.kt | 1 - .../box/ranges/stepped/literal/downTo/stepOne.kt | 1 - .../literal/rangeTo/nestedStep/stepOneThenStepOne.kt | 1 - .../box/ranges/stepped/literal/rangeTo/stepOne.kt | 1 - .../literal/until/nestedStep/stepOneThenStepOne.kt | 1 - .../box/ranges/stepped/literal/until/stepOne.kt | 1 - .../functions/functionReferenceErasedToKFunction.kt | 1 - .../methodsFromAny/functionEqualsHashCode.kt | 1 - .../methodsFromAny/delegatedProperty.kt | 1 - .../box/reflection/typeOf/noReflect/classes.kt | 1 - .../typeOf/noReflect/typeReferenceEqualsHashCode.kt | 1 - .../testData/codegen/box/regressions/Kt2495Test.kt | 1 - .../box/regressions/approximateIntersectionType.kt | 1 - .../box/regressions/intersectionOfEqualTypes.kt | 1 - compiler/testData/codegen/box/regressions/kt1172.kt | 1 - compiler/testData/codegen/box/regressions/kt2017.kt | 1 - compiler/testData/codegen/box/regressions/kt2246.kt | 1 - compiler/testData/codegen/box/regressions/kt5056.kt | 1 - .../box/regressions/kt5786_privateWithDefault.kt | 1 - compiler/testData/codegen/box/regressions/kt5953.kt | 1 - compiler/testData/codegen/box/regressions/kt864.kt | 1 - .../codegen/box/regressions/lambdaWrongReturnType.kt | 1 - .../box/regressions/resolvedCallForGetOperator.kt | 1 - compiler/testData/codegen/box/reified/checkcast.kt | 1 - compiler/testData/codegen/box/reified/copyToArray.kt | 1 - .../testData/codegen/box/reified/filterIsInstance.kt | 1 - compiler/testData/codegen/box/reified/instanceof.kt | 1 - compiler/testData/codegen/box/reified/safecast.kt | 1 - .../box/storeStackBeforeInline/differentTypes.kt | 1 - .../box/storeStackBeforeInline/primitiveMerge.kt | 1 - .../codegen/box/storeStackBeforeInline/simple.kt | 1 - .../box/storeStackBeforeInline/unreachableMarker.kt | 1 - .../codegen/box/storeStackBeforeInline/withLambda.kt | 1 - .../codegen/box/strings/constInStringTemplate.kt | 1 - .../box/strings/stringPlusOnlyWorksOnString.kt | 1 - .../codegen/box/synchronized/changeMonitor.kt | 1 - compiler/testData/codegen/box/synchronized/finally.kt | 1 - .../testData/codegen/box/synchronized/longValue.kt | 1 - .../box/synchronized/nestedDifferentObjects.kt | 1 - .../codegen/box/synchronized/nestedSameObject.kt | 1 - .../testData/codegen/box/synchronized/objectValue.kt | 1 - compiler/testData/codegen/box/synchronized/value.kt | 1 - compiler/testData/codegen/box/synchronized/wait.kt | 1 - .../codegen/box/toArray/returnToTypedArray.kt | 1 - compiler/testData/codegen/box/toArray/toTypedArray.kt | 1 - .../noPrivateNoAccessorsInMultiFileFacade.kt | 1 - .../codegen/box/typealias/typeAliasAsBareType.kt | 1 - .../iterateOverListOfBoxedUnsignedValues.kt | 1 - .../box/when/integralWhenWithNoInlinedConstants.kt | 1 - .../box/when/stringOptimization/duplicatingItems.kt | 1 - .../duplicatingItemsSameHashCode.kt | 1 - .../duplicatingItemsSameHashCode2.kt | 1 - .../duplicatingItemsSameHashCode3.kt | 1 - .../codegen/box/when/stringOptimization/expression.kt | 1 - .../box/when/stringOptimization/nullability.kt | 1 - .../box/when/stringOptimization/sameHashCode.kt | 1 - .../codegen/box/when/stringOptimization/statement.kt | 1 - .../codegen/box/when/switchOptimizationDense.kt | 1 - .../box/when/switchOptimizationMultipleConditions.kt | 1 - .../codegen/box/when/switchOptimizationSparse.kt | 1 - .../codegen/box/when/switchOptimizationStatement.kt | 1 - .../codegen/box/when/switchOptimizationTypes.kt | 1 - .../codegen/box/when/switchOptimizationUnordered.kt | 1 - .../codegen/box/when/switchOptimizationWithGap.kt | 1 - .../denseIntSwitchWithSubjectVariable.kt | 1 - .../sparseIntSwitchWithSubjectVariable.kt | 1 - .../box/when/whenSubjectVariable/whenByString.kt | 1 - 201 files changed, 19 insertions(+), 199 deletions(-) diff --git a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/JvmIrCodegenFactory.kt b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/JvmIrCodegenFactory.kt index d0ae37ac7f0..70ae4eebf21 100644 --- a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/JvmIrCodegenFactory.kt +++ b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/JvmIrCodegenFactory.kt @@ -24,6 +24,7 @@ import org.jetbrains.kotlin.codegen.PackageCodegenImpl import org.jetbrains.kotlin.codegen.state.GenerationState import org.jetbrains.kotlin.descriptors.PackageFragmentDescriptor import org.jetbrains.kotlin.ir.declarations.IrModuleFragment +import org.jetbrains.kotlin.ir.util.DeclarationStubGenerator import org.jetbrains.kotlin.ir.util.ExternalDependenciesGenerator import org.jetbrains.kotlin.ir.util.SymbolTable import org.jetbrains.kotlin.ir.util.generateTypicalIrProviderList @@ -45,6 +46,13 @@ class JvmIrCodegenFactory(private val phaseConfig: PhaseConfig) : CodegenFactory irModuleFragment.descriptor, irModuleFragment.irBuiltins, symbolTable, extensions = extensions ) ExternalDependenciesGenerator(symbolTable, irProviders).generateUnboundSymbolsAsDependencies() + + val stubGenerator = irProviders.filterIsInstance().first() + for (descriptor in symbolTable.functionDescriptorsWithNonClassParent()) { + val parentClass = stubGenerator.generateOrGetFacadeClass(descriptor) + descriptor.owner.parent = parentClass ?: throw AssertionError("Facade class for ${descriptor.name} not found") + } + JvmBackendFacade.doGenerateFilesInternal( state, irModuleFragment, symbolTable, sourceManager, phaseConfig, irProviders, extensions ) diff --git a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/SymbolTable.kt b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/SymbolTable.kt index d9b03fc14d5..d1dfa67efec 100644 --- a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/SymbolTable.kt +++ b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/SymbolTable.kt @@ -830,6 +830,17 @@ open class SymbolTable(private val signaturer: IdSignatureComposer) : ReferenceS else -> throw IllegalArgumentException("Unexpected value descriptor: $value") } + + fun functionDescriptorsWithNonClassParent(): Set { + val result = mutableSetOf() + for (descriptor in simpleFunctionSymbolTable.descriptorToSymbol.keys) { + if (descriptor is WrappedFunctionDescriptorWithContainerSource + && descriptor.owner.parent !is IrClass) { + result.add(descriptor) + } + } + return result + } } inline fun SymbolTable.withScope(owner: D, block: SymbolTable.(D) -> T): T { diff --git a/compiler/testData/codegen/box/annotations/syntheticMethodForJvmStaticProperty.kt b/compiler/testData/codegen/box/annotations/syntheticMethodForJvmStaticProperty.kt index f8b4020b7bc..0a067efb83f 100644 --- a/compiler/testData/codegen/box/annotations/syntheticMethodForJvmStaticProperty.kt +++ b/compiler/testData/codegen/box/annotations/syntheticMethodForJvmStaticProperty.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm // TARGET_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // FULL_JDK // JVM_TARGET: 1.8 diff --git a/compiler/testData/codegen/box/annotations/syntheticMethodForProperty.kt b/compiler/testData/codegen/box/annotations/syntheticMethodForProperty.kt index 2e0d7575aa7..e61db0ef6ba 100644 --- a/compiler/testData/codegen/box/annotations/syntheticMethodForProperty.kt +++ b/compiler/testData/codegen/box/annotations/syntheticMethodForProperty.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm // TARGET_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/arrays/forInReversed/reversedArrayOriginalUpdatedInLoopBody.kt b/compiler/testData/codegen/box/arrays/forInReversed/reversedArrayOriginalUpdatedInLoopBody.kt index e0c1d097964..faee25e6092 100644 --- a/compiler/testData/codegen/box/arrays/forInReversed/reversedArrayOriginalUpdatedInLoopBody.kt +++ b/compiler/testData/codegen/box/arrays/forInReversed/reversedArrayOriginalUpdatedInLoopBody.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/arrays/forInReversed/reversedArrayReversedArrayOriginalUpdatedInLoopBody.kt b/compiler/testData/codegen/box/arrays/forInReversed/reversedArrayReversedArrayOriginalUpdatedInLoopBody.kt index c527565cfc5..76f4abbeed1 100644 --- a/compiler/testData/codegen/box/arrays/forInReversed/reversedArrayReversedArrayOriginalUpdatedInLoopBody.kt +++ b/compiler/testData/codegen/box/arrays/forInReversed/reversedArrayReversedArrayOriginalUpdatedInLoopBody.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/arrays/forInReversed/reversedOriginalUpdatedInLoopBody.kt b/compiler/testData/codegen/box/arrays/forInReversed/reversedOriginalUpdatedInLoopBody.kt index 809085b50bf..e51e49904fc 100644 --- a/compiler/testData/codegen/box/arrays/forInReversed/reversedOriginalUpdatedInLoopBody.kt +++ b/compiler/testData/codegen/box/arrays/forInReversed/reversedOriginalUpdatedInLoopBody.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/arrays/forInReversed/reversedReversedOriginalUpdatedInLoopBody.kt b/compiler/testData/codegen/box/arrays/forInReversed/reversedReversedOriginalUpdatedInLoopBody.kt index af439a64089..44a2264c2f1 100644 --- a/compiler/testData/codegen/box/arrays/forInReversed/reversedReversedOriginalUpdatedInLoopBody.kt +++ b/compiler/testData/codegen/box/arrays/forInReversed/reversedReversedOriginalUpdatedInLoopBody.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/assert/jvm/noUnnecessaryClassInitialization.kt b/compiler/testData/codegen/box/assert/jvm/noUnnecessaryClassInitialization.kt index 7f836beab8c..f7bc41fe918 100644 --- a/compiler/testData/codegen/box/assert/jvm/noUnnecessaryClassInitialization.kt +++ b/compiler/testData/codegen/box/assert/jvm/noUnnecessaryClassInitialization.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/binaryOp/bitwiseOp.kt b/compiler/testData/codegen/box/binaryOp/bitwiseOp.kt index a1397cac941..455ce8d3fba 100644 --- a/compiler/testData/codegen/box/binaryOp/bitwiseOp.kt +++ b/compiler/testData/codegen/box/binaryOp/bitwiseOp.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.experimental.* diff --git a/compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt b/compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt index 608556b8b9a..56a4f44ba63 100644 --- a/compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt +++ b/compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.experimental.* diff --git a/compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt b/compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt index 719fefb9bdd..fd846d00899 100644 --- a/compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt +++ b/compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.experimental.* diff --git a/compiler/testData/codegen/box/boxingOptimization/fold.kt b/compiler/testData/codegen/box/boxingOptimization/fold.kt index be4d73f3a8e..370b77d7a3b 100644 --- a/compiler/testData/codegen/box/boxingOptimization/fold.kt +++ b/compiler/testData/codegen/box/boxingOptimization/fold.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/boxingOptimization/foldRange.kt b/compiler/testData/codegen/box/boxingOptimization/foldRange.kt index ea1df3a32a8..464963393d5 100644 --- a/compiler/testData/codegen/box/boxingOptimization/foldRange.kt +++ b/compiler/testData/codegen/box/boxingOptimization/foldRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/boxingOptimization/kt5844.kt b/compiler/testData/codegen/box/boxingOptimization/kt5844.kt index 2b81a3f6150..acc4da5c729 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt5844.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt5844.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/boxingOptimization/kt6047.kt b/compiler/testData/codegen/box/boxingOptimization/kt6047.kt index 5f264c8157c..6efa1875a6b 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt6047.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt6047.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/boxingOptimization/kt6842.kt b/compiler/testData/codegen/box/boxingOptimization/kt6842.kt index 55fe4655609..9f52810a009 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt6842.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt6842.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/boxingOptimization/maxMinBy.kt b/compiler/testData/codegen/box/boxingOptimization/maxMinBy.kt index 7c66719c8bd..0d10c6e6ae5 100644 --- a/compiler/testData/codegen/box/boxingOptimization/maxMinBy.kt +++ b/compiler/testData/codegen/box/boxingOptimization/maxMinBy.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/boxingOptimization/simple.kt b/compiler/testData/codegen/box/boxingOptimization/simple.kt index bf68a00ebaa..fbe93a5233a 100644 --- a/compiler/testData/codegen/box/boxingOptimization/simple.kt +++ b/compiler/testData/codegen/box/boxingOptimization/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/boxingOptimization/simpleUninitializedMerge.kt b/compiler/testData/codegen/box/boxingOptimization/simpleUninitializedMerge.kt index d2e80581b19..9612abbe1bb 100644 --- a/compiler/testData/codegen/box/boxingOptimization/simpleUninitializedMerge.kt +++ b/compiler/testData/codegen/box/boxingOptimization/simpleUninitializedMerge.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/boxingOptimization/taintedValues.kt b/compiler/testData/codegen/box/boxingOptimization/taintedValues.kt index efaea2a3b8a..8be9aab8720 100644 --- a/compiler/testData/codegen/box/boxingOptimization/taintedValues.kt +++ b/compiler/testData/codegen/box/boxingOptimization/taintedValues.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt b/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt index 685fcb673c1..daa5cd81b4c 100644 --- a/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt +++ b/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt index 3d0bc07a32c..874f41cac3c 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // WITH_REFLECT diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt index 04ded7c2fd7..16cc378145e 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun foo() = "OK" fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/serializability/boundWithSerializableReceiver.kt b/compiler/testData/codegen/box/callableReference/serializability/boundWithSerializableReceiver.kt index 88cf4382f61..11d4905cbe1 100644 --- a/compiler/testData/codegen/box/callableReference/serializability/boundWithSerializableReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/serializability/boundWithSerializableReceiver.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/callableReference/serializability/noReflect.kt b/compiler/testData/codegen/box/callableReference/serializability/noReflect.kt index a9cce21f350..35ebaa27d5d 100644 --- a/compiler/testData/codegen/box/callableReference/serializability/noReflect.kt +++ b/compiler/testData/codegen/box/callableReference/serializability/noReflect.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/serializability/withReflect.kt b/compiler/testData/codegen/box/callableReference/serializability/withReflect.kt index ddc44a918d6..266a08313c9 100644 --- a/compiler/testData/codegen/box/callableReference/serializability/withReflect.kt +++ b/compiler/testData/codegen/box/callableReference/serializability/withReflect.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK // WITH_REFLECT diff --git a/compiler/testData/codegen/box/callableReference/varargAndDefaults/inlineDefault.kt b/compiler/testData/codegen/box/callableReference/varargAndDefaults/inlineDefault.kt index 0ccd6ae9b7d..c9c2d198a1a 100644 --- a/compiler/testData/codegen/box/callableReference/varargAndDefaults/inlineDefault.kt +++ b/compiler/testData/codegen/box/callableReference/varargAndDefaults/inlineDefault.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt index 215ce7d15d0..6be630d0dc7 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt index 5b40e1eea14..b44f068ccb7 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt index 54fa265a68c..8c7e1dac0e4 100644 --- a/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyAssign.kt b/compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyAssign.kt index 216a92b0ea1..5faf6875838 100644 --- a/compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyAssign.kt +++ b/compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyAssign.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyCAO.kt b/compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyCAO.kt index eeecafca219..0f62af3ed4d 100644 --- a/compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyCAO.kt +++ b/compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyCAO.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallEvaluationOrder.kt b/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallEvaluationOrder.kt index 86426bf5260..bc9984d4c0e 100644 --- a/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallEvaluationOrder.kt +++ b/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallEvaluationOrder.kt @@ -1,5 +1,4 @@ // !LANGUAGE: -NormalizeConstructorCalls -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: test.kt diff --git a/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithDisabledNormalization.kt b/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithDisabledNormalization.kt index 401629cbd5e..79020cc9986 100644 --- a/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithDisabledNormalization.kt +++ b/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithDisabledNormalization.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: CONSTRUCTOR_CALL_NORMALIZATION_MODE=disable diff --git a/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithEnabledNormalization.kt b/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithEnabledNormalization.kt index d72e735aa25..64c7310ef57 100644 --- a/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithEnabledNormalization.kt +++ b/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithEnabledNormalization.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: CONSTRUCTOR_CALL_NORMALIZATION_MODE=enable diff --git a/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithStrictNormalization.kt b/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithStrictNormalization.kt index 7796d74a10f..65ef307f5b8 100644 --- a/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithStrictNormalization.kt +++ b/compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallWithStrictNormalization.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: CONSTRUCTOR_CALL_NORMALIZATION_MODE=preserve-class-initialization diff --git a/compiler/testData/codegen/box/constructorCall/inlineFunInLocalClassConstructorCall.kt b/compiler/testData/codegen/box/constructorCall/inlineFunInLocalClassConstructorCall.kt index 9fa62bfa9ec..f4c2a1b8ad0 100644 --- a/compiler/testData/codegen/box/constructorCall/inlineFunInLocalClassConstructorCall.kt +++ b/compiler/testData/codegen/box/constructorCall/inlineFunInLocalClassConstructorCall.kt @@ -1,5 +1,4 @@ // !LANGUAGE: -NormalizeConstructorCalls -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: test.kt diff --git a/compiler/testData/codegen/box/constructorCall/loopInInlineFunWithEnabledNormalization.kt b/compiler/testData/codegen/box/constructorCall/loopInInlineFunWithEnabledNormalization.kt index 33157851932..1edbb009b57 100644 --- a/compiler/testData/codegen/box/constructorCall/loopInInlineFunWithEnabledNormalization.kt +++ b/compiler/testData/codegen/box/constructorCall/loopInInlineFunWithEnabledNormalization.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: CONSTRUCTOR_CALL_NORMALIZATION_MODE=enable diff --git a/compiler/testData/codegen/box/controlStructures/continueInExpr.kt b/compiler/testData/codegen/box/controlStructures/continueInExpr.kt index b2aa008cd9d..58fa98c913d 100644 --- a/compiler/testData/codegen/box/controlStructures/continueInExpr.kt +++ b/compiler/testData/codegen/box/controlStructures/continueInExpr.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/continueInForCondition.kt b/compiler/testData/codegen/box/controlStructures/continueInForCondition.kt index 1bff1bf392d..412d41a7c4f 100644 --- a/compiler/testData/codegen/box/controlStructures/continueInForCondition.kt +++ b/compiler/testData/codegen/box/controlStructures/continueInForCondition.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/factorialTest.kt b/compiler/testData/codegen/box/controlStructures/factorialTest.kt index a34351f4a3a..fdb108f8bdc 100644 --- a/compiler/testData/codegen/box/controlStructures/factorialTest.kt +++ b/compiler/testData/codegen/box/controlStructures/factorialTest.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/controlStructures/forArrayList.kt b/compiler/testData/codegen/box/controlStructures/forArrayList.kt index c0235bc83d2..7986a79f79e 100644 --- a/compiler/testData/codegen/box/controlStructures/forArrayList.kt +++ b/compiler/testData/codegen/box/controlStructures/forArrayList.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val alist = arrayListOf(1, 2, 3) // : j.u.ArrayList diff --git a/compiler/testData/codegen/box/controlStructures/forInArray/forInArraySpecializedToUntil.kt b/compiler/testData/codegen/box/controlStructures/forInArray/forInArraySpecializedToUntil.kt index c5f04226071..29235120da1 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArray/forInArraySpecializedToUntil.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArray/forInArraySpecializedToUntil.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrayWithIndex.kt index af7cc62fbfe..61e44061ca8 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrayWithIndex.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt index e76472a0171..5ed671d0e57 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt index e0110a7d8a9..d608ec059f6 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt index a9777816c22..3b6094bfb1d 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt index 88682aaf84b..326076d5975 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableTypeParameterWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableTypeParameterWithIndex.kt index e1fb89f1d23..31d12160d4e 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableTypeParameterWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableTypeParameterWithIndex.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt index 9e4d95a16a5..16647498f74 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceTypeParameterWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceTypeParameterWithIndex.kt index bb9c48ad7d8..c91171b9d5e 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceTypeParameterWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceTypeParameterWithIndex.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/deadCodeElimination/emptyVariableRange.kt b/compiler/testData/codegen/box/deadCodeElimination/emptyVariableRange.kt index 58a0181e545..c162fbeec34 100644 --- a/compiler/testData/codegen/box/deadCodeElimination/emptyVariableRange.kt +++ b/compiler/testData/codegen/box/deadCodeElimination/emptyVariableRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/differentReceivers.kt b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/differentReceivers.kt index b63bfcf3e28..990b7d63455 100644 --- a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/differentReceivers.kt +++ b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/differentReceivers.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/generic.kt b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/generic.kt index 60a8131ddfd..36ec4bb9508 100644 --- a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/generic.kt +++ b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/generic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/inlineProvideDelegate.kt b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/inlineProvideDelegate.kt index b9bb3cead1d..3ce685006b0 100644 --- a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/inlineProvideDelegate.kt +++ b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/inlineProvideDelegate.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/propertyMetadata.kt b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/propertyMetadata.kt index 196e8bc3abe..549b1b249e4 100644 --- a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/propertyMetadata.kt +++ b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/propertyMetadata.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt index 879d128fcf9..364debd2004 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME data class Station( diff --git a/compiler/testData/codegen/box/evaluate/kt9443.kt b/compiler/testData/codegen/box/evaluate/kt9443.kt index fc13c9a4dca..7428e8b04df 100644 --- a/compiler/testData/codegen/box/evaluate/kt9443.kt +++ b/compiler/testData/codegen/box/evaluate/kt9443.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/hashPMap/empty.kt b/compiler/testData/codegen/box/hashPMap/empty.kt index c26c856ed25..30be641c252 100644 --- a/compiler/testData/codegen/box/hashPMap/empty.kt +++ b/compiler/testData/codegen/box/hashPMap/empty.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/increment/augmentedAssignmentWithComplexRhs.kt b/compiler/testData/codegen/box/increment/augmentedAssignmentWithComplexRhs.kt index 722808e630a..cc9dccf660b 100644 --- a/compiler/testData/codegen/box/increment/augmentedAssignmentWithComplexRhs.kt +++ b/compiler/testData/codegen/box/increment/augmentedAssignmentWithComplexRhs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/intrinsics/kt10131.kt b/compiler/testData/codegen/box/intrinsics/kt10131.kt index d2cf26a8e6b..754b5450e76 100644 --- a/compiler/testData/codegen/box/intrinsics/kt10131.kt +++ b/compiler/testData/codegen/box/intrinsics/kt10131.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/intrinsics/kt10131a.kt b/compiler/testData/codegen/box/intrinsics/kt10131a.kt index b752ccfc21c..92d2ea4ba02 100644 --- a/compiler/testData/codegen/box/intrinsics/kt10131a.kt +++ b/compiler/testData/codegen/box/intrinsics/kt10131a.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ir/classInitializers.kt b/compiler/testData/codegen/box/ir/classInitializers.kt index 6b84e9b88e0..aea1d8f3a92 100644 --- a/compiler/testData/codegen/box/ir/classInitializers.kt +++ b/compiler/testData/codegen/box/ir/classInitializers.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR //WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ir/fileClassInitializers.kt b/compiler/testData/codegen/box/ir/fileClassInitializers.kt index 6363c4ce9ea..90815398755 100644 --- a/compiler/testData/codegen/box/ir/fileClassInitializers.kt +++ b/compiler/testData/codegen/box/ir/fileClassInitializers.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR //WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/jdk/useStream.kt b/compiler/testData/codegen/box/jdk/useStream.kt index 14f14c27129..1d65fc43834 100644 --- a/compiler/testData/codegen/box/jdk/useStream.kt +++ b/compiler/testData/codegen/box/jdk/useStream.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // KT-5190 Java 8 Stream.collect couldn't be called diff --git a/compiler/testData/codegen/box/jvm8/inlineFromStdlib.kt b/compiler/testData/codegen/box/jvm8/inlineFromStdlib.kt index bbf45db1763..ca938ab91a8 100644 --- a/compiler/testData/codegen/box/jvm8/inlineFromStdlib.kt +++ b/compiler/testData/codegen/box/jvm8/inlineFromStdlib.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 //WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvmPackageName/multifileClass.kt b/compiler/testData/codegen/box/jvmPackageName/multifileClass.kt index f96d3650818..aba8692fa6b 100644 --- a/compiler/testData/codegen/box/jvmPackageName/multifileClass.kt +++ b/compiler/testData/codegen/box/jvmPackageName/multifileClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt b/compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt index febe29e0ae4..69d159e1929 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // IGNORE_LIGHT_ANALYSIS // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt b/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt index b55d228fa27..2c6ac23a297 100644 --- a/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt +++ b/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt b/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt index 23a07287ebf..045499084e6 100644 --- a/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt +++ b/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR abstract class Base(val fn: () -> String) object Test : Base(run { { Test.ok() } }) { diff --git a/compiler/testData/codegen/box/optimizations/kt20844.kt b/compiler/testData/codegen/box/optimizations/kt20844.kt index e0ca4c29b21..3f5b613e05a 100644 --- a/compiler/testData/codegen/box/optimizations/kt20844.kt +++ b/compiler/testData/codegen/box/optimizations/kt20844.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME //WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt b/compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt index bf002b2cf8c..fb669181576 100644 --- a/compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt +++ b/compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/primitiveTypes/kt16732.kt b/compiler/testData/codegen/box/primitiveTypes/kt16732.kt index 5e2b4a92fb0..bddf49bec0d 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt16732.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt16732.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME //WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/const/fpNonConstValProperlyInitialized.kt b/compiler/testData/codegen/box/properties/const/fpNonConstValProperlyInitialized.kt index b586d88a26c..988f87332a6 100644 --- a/compiler/testData/codegen/box/properties/const/fpNonConstValProperlyInitialized.kt +++ b/compiler/testData/codegen/box/properties/const/fpNonConstValProperlyInitialized.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +NoConstantValueAttributeForNonConstVals -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/kt1398.kt b/compiler/testData/codegen/box/properties/kt1398.kt index d949fb8f976..85e4416c689 100644 --- a/compiler/testData/codegen/box/properties/kt1398.kt +++ b/compiler/testData/codegen/box/properties/kt1398.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/lateinit/local/localLateinit.kt b/compiler/testData/codegen/box/properties/lateinit/local/localLateinit.kt index b30d2416246..619cd6d90de 100644 --- a/compiler/testData/codegen/box/properties/lateinit/local/localLateinit.kt +++ b/compiler/testData/codegen/box/properties/lateinit/local/localLateinit.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun box(): String { lateinit var ok: String run { diff --git a/compiler/testData/codegen/box/properties/lateinit/topLevel/topLevelLateinit.kt b/compiler/testData/codegen/box/properties/lateinit/topLevel/topLevelLateinit.kt index c2cb9fb01f5..23d1104aeba 100644 --- a/compiler/testData/codegen/box/properties/lateinit/topLevel/topLevelLateinit.kt +++ b/compiler/testData/codegen/box/properties/lateinit/topLevel/topLevelLateinit.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR lateinit var ok: String fun box(): String { diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt index 65dea8b898e..6fdc30dcdb7 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt b/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt index 0e3b1ee652a..031343a1659 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/charUntil.kt b/compiler/testData/codegen/box/ranges/contains/generated/charUntil.kt index fa693c8c596..9731768334e 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/charUntil.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/charUntil.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/intDownTo.kt b/compiler/testData/codegen/box/ranges/contains/generated/intDownTo.kt index 43c948bf2c8..5aab0a26ce3 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/intDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/intDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/longDownTo.kt b/compiler/testData/codegen/box/ranges/contains/generated/longDownTo.kt index 518a9075bb8..2c0561beab1 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/longDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/longDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inArray.kt b/compiler/testData/codegen/box/ranges/contains/inArray.kt index b66a21fb96c..f6e8a5fffcd 100644 --- a/compiler/testData/codegen/box/ranges/contains/inArray.kt +++ b/compiler/testData/codegen/box/ranges/contains/inArray.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt b/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt index c5e44fc9d39..2ea22d9bc65 100644 --- a/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt +++ b/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inIntRange.kt b/compiler/testData/codegen/box/ranges/contains/inIntRange.kt index af8a59d04b1..fb87d450d03 100644 --- a/compiler/testData/codegen/box/ranges/contains/inIntRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inIntRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/ranges/contains/inIterable.kt b/compiler/testData/codegen/box/ranges/contains/inIterable.kt index 57d8999aa9d..ed11dd2a59b 100644 --- a/compiler/testData/codegen/box/ranges/contains/inIterable.kt +++ b/compiler/testData/codegen/box/ranges/contains/inIterable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt b/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt index 52fcbede842..b3328aba6d9 100644 --- a/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt +++ b/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt b/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt index c7ccc6af29b..c5a0bfe5fce 100644 --- a/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt +++ b/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE // WITH_RUNTIME import kotlin.test.assertTrue diff --git a/compiler/testData/codegen/box/ranges/contains/nullableInPrimitiveRange.kt b/compiler/testData/codegen/box/ranges/contains/nullableInPrimitiveRange.kt index 19ef4f8b5da..fd05c2601f9 100644 --- a/compiler/testData/codegen/box/ranges/contains/nullableInPrimitiveRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/nullableInPrimitiveRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME val x: Int? = 42 diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownTo.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownTo.kt index 3c1c2890eb3..d4d195a083f 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownTo.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversed.kt index 278f6b87ea2..fad30bf9921 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversed.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversedReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversedReversed.kt index d2ad9422956..6dc1db94367 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversedReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversedReversed.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteral.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteral.kt index 249d581b0ef..fae58fac6ae 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversed.kt index 7b8441e0519..09b90f3f3e0 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversed.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversedReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversedReversed.kt index abfeb34b5f5..6a2397628b4 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversedReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversedReversed.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntil.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntil.kt index 2822c372568..8864b09d443 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntil.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntil.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversed.kt index 5e107fced4b..2e1eb651377 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversed.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversedReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversedReversed.kt index f46123c0def..0a6f11dc70c 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversedReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversedReversed.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt b/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt index 3f416b340ed..a49a4d9f8b6 100644 --- a/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/emptyRange.kt b/compiler/testData/codegen/box/ranges/expression/emptyRange.kt index af9d004e288..a7c6fbee514 100644 --- a/compiler/testData/codegen/box/ranges/expression/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/emptyRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt index 48f158af249..bc07848c373 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt index 42ae7c83e4a..05f396742ec 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInCharSequenceLengthDecreasedInLoopBody.kt b/compiler/testData/codegen/box/ranges/forInCharSequenceLengthDecreasedInLoopBody.kt index 5381dc162f2..a1c065de731 100644 --- a/compiler/testData/codegen/box/ranges/forInCharSequenceLengthDecreasedInLoopBody.kt +++ b/compiler/testData/codegen/box/ranges/forInCharSequenceLengthDecreasedInLoopBody.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt b/compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt index 6b851245329..827a056e7c5 100644 --- a/compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt +++ b/compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownTo.kt b/compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownTo.kt index 355f55d5b3b..fd046640e37 100644 --- a/compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownTo.kt +++ b/compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownToWithNonConstBounds.kt b/compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownToWithNonConstBounds.kt index 5aad9307cf1..1141a4d68c6 100644 --- a/compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownToWithNonConstBounds.kt +++ b/compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownToWithNonConstBounds.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInDownTo/forIntInNonOptimizedDownTo.kt b/compiler/testData/codegen/box/ranges/forInDownTo/forIntInNonOptimizedDownTo.kt index 5b4e4211d4d..45214ff7d0e 100644 --- a/compiler/testData/codegen/box/ranges/forInDownTo/forIntInNonOptimizedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/forInDownTo/forIntInNonOptimizedDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInDownTo/forLongInDownTo.kt b/compiler/testData/codegen/box/ranges/forInDownTo/forLongInDownTo.kt index 7f5c6eca6f4..4d1e9793cce 100644 --- a/compiler/testData/codegen/box/ranges/forInDownTo/forLongInDownTo.kt +++ b/compiler/testData/codegen/box/ranges/forInDownTo/forLongInDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInDownTo/forNullableIntInDownTo.kt b/compiler/testData/codegen/box/ranges/forInDownTo/forNullableIntInDownTo.kt index 19fc0f28069..26109378c1b 100644 --- a/compiler/testData/codegen/box/ranges/forInDownTo/forNullableIntInDownTo.kt +++ b/compiler/testData/codegen/box/ranges/forInDownTo/forNullableIntInDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInRangeWithImplicitReceiver.kt b/compiler/testData/codegen/box/ranges/forInRangeWithImplicitReceiver.kt index 7543e24d318..a29e5a77e5e 100644 --- a/compiler/testData/codegen/box/ranges/forInRangeWithImplicitReceiver.kt +++ b/compiler/testData/codegen/box/ranges/forInRangeWithImplicitReceiver.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInReversed/ForInReversedReversedRange.kt b/compiler/testData/codegen/box/ranges/forInReversed/ForInReversedReversedRange.kt index d1928b49759..5e510e8cf4f 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/ForInReversedReversedRange.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/ForInReversedReversedRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedDownTo.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedDownTo.kt index c9fdd8b8bd9..bb8c8e1a3c5 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRange.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRange.kt index dedf382c63d..d30a9d1e57d 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRange.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteral.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteral.kt index d78c8ed14db..8a9e9f43cab 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteralWithNonConstBounds.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteralWithNonConstBounds.kt index e4b7ea392de..0d85baba426 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteralWithNonConstBounds.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteralWithNonConstBounds.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedDownTo.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedDownTo.kt index b515e89c604..430f2f2f5fe 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedDownTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedReversedRange.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedReversedRange.kt index 4afba653a8f..6e1e54d7e98 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedReversedRange.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedReversedRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntil.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntil.kt index c045aef719e..673e20b6142 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntil.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntil.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntilWithNonConstBounds.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntilWithNonConstBounds.kt index e206af607de..09b1cd793a7 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntilWithNonConstBounds.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntilWithNonConstBounds.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntil.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntil.kt index 94b9a87febe..41c5873f042 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntil.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntil.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntilWithNonConstBounds.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntilWithNonConstBounds.kt index d26171d768a..a4643d04666 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntilWithNonConstBounds.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntilWithNonConstBounds.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInUntil/forInUntilChar.kt b/compiler/testData/codegen/box/ranges/forInUntil/forInUntilChar.kt index f68df2b9d6d..9ee13af7b5a 100644 --- a/compiler/testData/codegen/box/ranges/forInUntil/forInUntilChar.kt +++ b/compiler/testData/codegen/box/ranges/forInUntil/forInUntilChar.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInUntil/forInUntilInt.kt b/compiler/testData/codegen/box/ranges/forInUntil/forInUntilInt.kt index d7f5c405866..45e865c4d72 100644 --- a/compiler/testData/codegen/box/ranges/forInUntil/forInUntilInt.kt +++ b/compiler/testData/codegen/box/ranges/forInUntil/forInUntilInt.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInUntil/forInUntilLong.kt b/compiler/testData/codegen/box/ranges/forInUntil/forInUntilLong.kt index fbcd546353b..93e0853225b 100644 --- a/compiler/testData/codegen/box/ranges/forInUntil/forInUntilLong.kt +++ b/compiler/testData/codegen/box/ranges/forInUntil/forInUntilLong.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInUntil/forIntInIntUntilSmartcastInt.kt b/compiler/testData/codegen/box/ranges/forInUntil/forIntInIntUntilSmartcastInt.kt index e0eba33194a..0cbaf4531ad 100644 --- a/compiler/testData/codegen/box/ranges/forInUntil/forIntInIntUntilSmartcastInt.kt +++ b/compiler/testData/codegen/box/ranges/forInUntil/forIntInIntUntilSmartcastInt.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forNullableIntInRangeWithImplicitReceiver.kt b/compiler/testData/codegen/box/ranges/forNullableIntInRangeWithImplicitReceiver.kt index c68e69ab8da..8f9a4534ea6 100644 --- a/compiler/testData/codegen/box/ranges/forNullableIntInRangeWithImplicitReceiver.kt +++ b/compiler/testData/codegen/box/ranges/forNullableIntInRangeWithImplicitReceiver.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfMaybeNullable.kt b/compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfMaybeNullable.kt index 229e393d61c..e5dc42b04ac 100644 --- a/compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfMaybeNullable.kt +++ b/compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfMaybeNullable.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +StrictJavaNullabilityAssertions // TARGET_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // FILE: box.kt diff --git a/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNullable.kt b/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNullable.kt index c302b6b402b..ad12a831adb 100644 --- a/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNullable.kt +++ b/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNullable.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +StrictJavaNullabilityAssertions // TARGET_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // JVM_TARGET: 1.8 diff --git a/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfMaybeNullable.kt b/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfMaybeNullable.kt index 2b9da1e27d9..b15c010359b 100644 --- a/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfMaybeNullable.kt +++ b/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfMaybeNullable.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +StrictJavaNullabilityAssertions // TARGET_BACKEND: JVM -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // FILE: box.kt diff --git a/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt b/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt index 47a5f085f3f..433910468ac 100644 --- a/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/emptyRange.kt b/compiler/testData/codegen/box/ranges/literal/emptyRange.kt index 002816c281d..73583591445 100644 --- a/compiler/testData/codegen/box/ranges/literal/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/emptyRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt index 6c8a7a07ccf..56385626b0f 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt index 8a6981f7cda..409b818d6c3 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepOneThenStepOne.kt index a5ab3b4cdb1..48ba23af731 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepOne.kt index e5a4de62c41..916ff0c2bf7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepOne.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepOneThenStepOne.kt index 8deff3994da..96392b7e06f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepOne.kt index 90356ee77ca..b8a4c17dc60 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepOne.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepOneThenStepOne.kt index f70d61f248b..9c2b9e3350e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepOne.kt index e5cd6f9f714..67d8a0a0153 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepOne.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt b/compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt index 28013b4449d..0a769b2e063 100644 --- a/compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt +++ b/compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt index 0ec0d748686..cb3c7288eec 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS, NATIVE // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt index ac0caf1ad22..4a023cf5870 100644 --- a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt +++ b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/reflection/typeOf/noReflect/classes.kt b/compiler/testData/codegen/box/reflection/typeOf/noReflect/classes.kt index f2c57cead3d..b4396b20f55 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/noReflect/classes.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/noReflect/classes.kt @@ -1,6 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.ExperimentalStdlibApi // !LANGUAGE: +NewInference -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/typeOf/noReflect/typeReferenceEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/typeOf/noReflect/typeReferenceEqualsHashCode.kt index 9d865b214d5..b4fdc0176fd 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/noReflect/typeReferenceEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/noReflect/typeReferenceEqualsHashCode.kt @@ -1,6 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.ExperimentalStdlibApi // !LANGUAGE: +NewInference -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/Kt2495Test.kt b/compiler/testData/codegen/box/regressions/Kt2495Test.kt index 4fd4e95cbac..8fd6f97bbb9 100644 --- a/compiler/testData/codegen/box/regressions/Kt2495Test.kt +++ b/compiler/testData/codegen/box/regressions/Kt2495Test.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/approximateIntersectionType.kt b/compiler/testData/codegen/box/regressions/approximateIntersectionType.kt index 0118b2895a8..e37bcd4a0c2 100644 --- a/compiler/testData/codegen/box/regressions/approximateIntersectionType.kt +++ b/compiler/testData/codegen/box/regressions/approximateIntersectionType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/regressions/intersectionOfEqualTypes.kt b/compiler/testData/codegen/box/regressions/intersectionOfEqualTypes.kt index b706ec27d40..220d3759335 100644 --- a/compiler/testData/codegen/box/regressions/intersectionOfEqualTypes.kt +++ b/compiler/testData/codegen/box/regressions/intersectionOfEqualTypes.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // FILE: test.kt diff --git a/compiler/testData/codegen/box/regressions/kt1172.kt b/compiler/testData/codegen/box/regressions/kt1172.kt index 2f657cdd233..a63c1e31ac4 100644 --- a/compiler/testData/codegen/box/regressions/kt1172.kt +++ b/compiler/testData/codegen/box/regressions/kt1172.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/regressions/kt2017.kt b/compiler/testData/codegen/box/regressions/kt2017.kt index af7b3675b20..c28300c2f54 100644 --- a/compiler/testData/codegen/box/regressions/kt2017.kt +++ b/compiler/testData/codegen/box/regressions/kt2017.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt2246.kt b/compiler/testData/codegen/box/regressions/kt2246.kt index ce71278e50c..d8a3d3522a2 100644 --- a/compiler/testData/codegen/box/regressions/kt2246.kt +++ b/compiler/testData/codegen/box/regressions/kt2246.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/regressions/kt5056.kt b/compiler/testData/codegen/box/regressions/kt5056.kt index 4f959d46848..646c8cbe443 100644 --- a/compiler/testData/codegen/box/regressions/kt5056.kt +++ b/compiler/testData/codegen/box/regressions/kt5056.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt5786_privateWithDefault.kt b/compiler/testData/codegen/box/regressions/kt5786_privateWithDefault.kt index a43c65667fd..916ed482c60 100644 --- a/compiler/testData/codegen/box/regressions/kt5786_privateWithDefault.kt +++ b/compiler/testData/codegen/box/regressions/kt5786_privateWithDefault.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/regressions/kt5953.kt b/compiler/testData/codegen/box/regressions/kt5953.kt index 6b310dd7fa5..3ccb46f328a 100644 --- a/compiler/testData/codegen/box/regressions/kt5953.kt +++ b/compiler/testData/codegen/box/regressions/kt5953.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt864.kt b/compiler/testData/codegen/box/regressions/kt864.kt index 6717cd9b5e7..91d9a1fbbc4 100644 --- a/compiler/testData/codegen/box/regressions/kt864.kt +++ b/compiler/testData/codegen/box/regressions/kt864.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt b/compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt index 2e508c2bc15..b60e314e0fb 100644 --- a/compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt +++ b/compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun test() = foo({ line: String -> line }) fun foo(x: T): T = TODO() diff --git a/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt b/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt index e2859475f60..19841190362 100644 --- a/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt +++ b/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/checkcast.kt b/compiler/testData/codegen/box/reified/checkcast.kt index b68a7946428..3b10a4bd5f8 100644 --- a/compiler/testData/codegen/box/reified/checkcast.kt +++ b/compiler/testData/codegen/box/reified/checkcast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reified/copyToArray.kt b/compiler/testData/codegen/box/reified/copyToArray.kt index 4cb82c3fbdb..43564bbd88e 100644 --- a/compiler/testData/codegen/box/reified/copyToArray.kt +++ b/compiler/testData/codegen/box/reified/copyToArray.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/filterIsInstance.kt b/compiler/testData/codegen/box/reified/filterIsInstance.kt index b642fc8d9bf..6d9af413560 100644 --- a/compiler/testData/codegen/box/reified/filterIsInstance.kt +++ b/compiler/testData/codegen/box/reified/filterIsInstance.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/reified/instanceof.kt b/compiler/testData/codegen/box/reified/instanceof.kt index aba918499bf..49a8988abfd 100644 --- a/compiler/testData/codegen/box/reified/instanceof.kt +++ b/compiler/testData/codegen/box/reified/instanceof.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/reified/safecast.kt b/compiler/testData/codegen/box/reified/safecast.kt index 9ae1fba4409..10171dd33fe 100644 --- a/compiler/testData/codegen/box/reified/safecast.kt +++ b/compiler/testData/codegen/box/reified/safecast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/storeStackBeforeInline/differentTypes.kt b/compiler/testData/codegen/box/storeStackBeforeInline/differentTypes.kt index 1592d0e3ee3..2d38eb00026 100644 --- a/compiler/testData/codegen/box/storeStackBeforeInline/differentTypes.kt +++ b/compiler/testData/codegen/box/storeStackBeforeInline/differentTypes.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/storeStackBeforeInline/primitiveMerge.kt b/compiler/testData/codegen/box/storeStackBeforeInline/primitiveMerge.kt index 3dde8a0922d..7a0c44138c9 100644 --- a/compiler/testData/codegen/box/storeStackBeforeInline/primitiveMerge.kt +++ b/compiler/testData/codegen/box/storeStackBeforeInline/primitiveMerge.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/storeStackBeforeInline/simple.kt b/compiler/testData/codegen/box/storeStackBeforeInline/simple.kt index cd3e785690c..02c77ef3f87 100644 --- a/compiler/testData/codegen/box/storeStackBeforeInline/simple.kt +++ b/compiler/testData/codegen/box/storeStackBeforeInline/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/storeStackBeforeInline/unreachableMarker.kt b/compiler/testData/codegen/box/storeStackBeforeInline/unreachableMarker.kt index 44ecbad0d7e..303293d3cd8 100644 --- a/compiler/testData/codegen/box/storeStackBeforeInline/unreachableMarker.kt +++ b/compiler/testData/codegen/box/storeStackBeforeInline/unreachableMarker.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/storeStackBeforeInline/withLambda.kt b/compiler/testData/codegen/box/storeStackBeforeInline/withLambda.kt index 21116927161..44e64d5a9bc 100644 --- a/compiler/testData/codegen/box/storeStackBeforeInline/withLambda.kt +++ b/compiler/testData/codegen/box/storeStackBeforeInline/withLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/strings/constInStringTemplate.kt b/compiler/testData/codegen/box/strings/constInStringTemplate.kt index 98356c44dd3..5595599889d 100644 --- a/compiler/testData/codegen/box/strings/constInStringTemplate.kt +++ b/compiler/testData/codegen/box/strings/constInStringTemplate.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt b/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt index 3ddca65d83c..69806f7415b 100644 --- a/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt +++ b/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/synchronized/changeMonitor.kt b/compiler/testData/codegen/box/synchronized/changeMonitor.kt index 6b3600f3c94..5c2bab2c36b 100644 --- a/compiler/testData/codegen/box/synchronized/changeMonitor.kt +++ b/compiler/testData/codegen/box/synchronized/changeMonitor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/synchronized/finally.kt b/compiler/testData/codegen/box/synchronized/finally.kt index 684753ed2e7..2fd42eae717 100644 --- a/compiler/testData/codegen/box/synchronized/finally.kt +++ b/compiler/testData/codegen/box/synchronized/finally.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/synchronized/longValue.kt b/compiler/testData/codegen/box/synchronized/longValue.kt index 1a5e95be2ce..8dec5eb94fc 100644 --- a/compiler/testData/codegen/box/synchronized/longValue.kt +++ b/compiler/testData/codegen/box/synchronized/longValue.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/synchronized/nestedDifferentObjects.kt b/compiler/testData/codegen/box/synchronized/nestedDifferentObjects.kt index 0d83196b6f1..d5779c1e1bd 100644 --- a/compiler/testData/codegen/box/synchronized/nestedDifferentObjects.kt +++ b/compiler/testData/codegen/box/synchronized/nestedDifferentObjects.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/synchronized/nestedSameObject.kt b/compiler/testData/codegen/box/synchronized/nestedSameObject.kt index 1687907d007..a98bdd48bd0 100644 --- a/compiler/testData/codegen/box/synchronized/nestedSameObject.kt +++ b/compiler/testData/codegen/box/synchronized/nestedSameObject.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/synchronized/objectValue.kt b/compiler/testData/codegen/box/synchronized/objectValue.kt index 8fcd888dfdb..1c27b83df69 100644 --- a/compiler/testData/codegen/box/synchronized/objectValue.kt +++ b/compiler/testData/codegen/box/synchronized/objectValue.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/synchronized/value.kt b/compiler/testData/codegen/box/synchronized/value.kt index f85f4572a80..7b4d63adafb 100644 --- a/compiler/testData/codegen/box/synchronized/value.kt +++ b/compiler/testData/codegen/box/synchronized/value.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/synchronized/wait.kt b/compiler/testData/codegen/box/synchronized/wait.kt index 379a4bcb6d7..56acadd4016 100644 --- a/compiler/testData/codegen/box/synchronized/wait.kt +++ b/compiler/testData/codegen/box/synchronized/wait.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/toArray/returnToTypedArray.kt b/compiler/testData/codegen/box/toArray/returnToTypedArray.kt index 290b908c9a0..235d1d425f5 100644 --- a/compiler/testData/codegen/box/toArray/returnToTypedArray.kt +++ b/compiler/testData/codegen/box/toArray/returnToTypedArray.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/toArray/toTypedArray.kt b/compiler/testData/codegen/box/toArray/toTypedArray.kt index f16ae8c716a..8eef1cd2ee2 100644 --- a/compiler/testData/codegen/box/toArray/toTypedArray.kt +++ b/compiler/testData/codegen/box/toArray/toTypedArray.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt b/compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt index 8cc4dccf044..33b2b195fa5 100644 --- a/compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt +++ b/compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt b/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt index 746d04d6e42..165de444126 100644 --- a/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt +++ b/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt b/compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt index 9d5cecc39c1..fdd7ee8188a 100644 --- a/compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt +++ b/compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt b/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt index 6d05c9a092e..f5d22ada587 100644 --- a/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt +++ b/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItems.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItems.kt index da9530859f4..1d400ddcb4d 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItems.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItems.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=3 // CHECK_IF_COUNT: function=foo count=0 diff --git a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt index e1d5d228c51..202bd70ea11 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt index e1d5d228c51..202bd70ea11 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt index 267b5e819ac..e087e681aaa 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/stringOptimization/expression.kt b/compiler/testData/codegen/box/when/stringOptimization/expression.kt index 08d025f34b7..f3ad4b24b80 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/expression.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/expression.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=4 // CHECK_IF_COUNT: function=foo count=0 diff --git a/compiler/testData/codegen/box/when/stringOptimization/nullability.kt b/compiler/testData/codegen/box/when/stringOptimization/nullability.kt index bf93172d437..c325a7bef61 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/nullability.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/nullability.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo1 count=2 // CHECK_IF_COUNT: function=foo1 count=1 diff --git a/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt b/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt index d197cbe0760..f6557d57e42 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/stringOptimization/statement.kt b/compiler/testData/codegen/box/when/stringOptimization/statement.kt index c71c5afebf1..1a06c2f0148 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/statement.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/statement.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo1 count=4 // CHECK_IF_COUNT: function=foo1 count=0 diff --git a/compiler/testData/codegen/box/when/switchOptimizationDense.kt b/compiler/testData/codegen/box/when/switchOptimizationDense.kt index ef9f7c8fee2..02eee6b6ca9 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationDense.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationDense.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=dense count=10 diff --git a/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt index 1e6d69227fa..9fa88043b27 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // CHECK_CASES_COUNT: function=foo count=9 diff --git a/compiler/testData/codegen/box/when/switchOptimizationSparse.kt b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt index a41c919d1a2..59c7a10cd02 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationSparse.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=sparse count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationStatement.kt b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt index 00d8ccea661..fed77d9e5a1 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationStatement.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=exhaustive count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationTypes.kt b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt index 4c94f247989..6f0137bd7cf 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationTypes.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=intFoo count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt index 4c860c576bc..32a1dc501f7 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt b/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt index fb3365e504d..8e22f547c87 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=4 diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt index 14d4c24c291..17116b208d0 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +VariableDeclarationInWhenSubject // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt index 8d5f36c4158..e6b7d06b2d2 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +VariableDeclarationInWhenSubject // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/whenByString.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/whenByString.kt index e9efde56104..c0755fafa3a 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/whenByString.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/whenByString.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals