From 3e6b38a921ab1ccaa6af7ee7f4cb7e3995f6264e Mon Sep 17 00:00:00 2001 From: Jinseong Jeon Date: Wed, 1 Apr 2020 11:16:21 +0300 Subject: [PATCH] [FIR] Fix type reference for 1st arg of GetClassCall --- .../FirExpressionsResolveTransformer.kt | 19 +++++++++++++------ .../box/annotations/constValInAnnotation.kt | 1 - .../fileClassWithFileAnnotation.kt | 1 - ...ssertionsEnabledBeforeClassInitializers.kt | 1 - .../codegen/box/assert/jvm/classAssertions.kt | 1 - .../assert/jvm/classAssertionsForCompanion.kt | 1 - .../jvm/classAssertionsForInnerClasses.kt | 1 - .../jvm/classAssertionsForLocalClasses.kt | 1 - .../jvm/classAssertionsForNestedClasses.kt | 1 - .../assert/jvm/interfaceAssertionsDisabled.kt | 1 - .../assert/jvm/interfaceAssertionsEnabled.kt | 1 - .../box/assert/jvm/localAnonymousFunction.kt | 1 - .../codegen/box/assert/jvm/localClass.kt | 1 - .../codegen/box/assert/jvm/localFunction.kt | 1 - .../codegen/box/assert/jvm/localLambda.kt | 1 - .../codegen/box/assert/jvm/localObject.kt | 1 - .../codegen/box/assert/jvm/nonLocalReturn.kt | 1 - .../codegen/box/assert/jvm/ordinary.kt | 1 - .../testData/codegen/box/assert/legacy.kt | 1 - .../box/boxingOptimization/kClassEquals.kt | 1 - .../codegen/box/boxingOptimization/kt17748.kt | 1 - .../reflectedIsNotSerialized.kt | 1 - .../codegen/box/classLiteral/bareArray.kt | 1 - .../bound/javaIntrinsicWithSideEffect.kt | 1 - .../box/classLiteral/bound/primitives.kt | 1 - .../box/classLiteral/bound/sideEffect.kt | 1 - .../codegen/box/classLiteral/bound/simple.kt | 1 - .../box/classLiteral/java/javaObjectType.kt | 1 - .../classLiteral/java/javaPrimitiveType.kt | 1 - .../defaultArguments/constructor/manyArgs.kt | 1 - .../box/defaultArguments/superCallCheck.kt | 1 - .../defaultArguments/superCallHandlerOrder.kt | 1 - .../codegen/box/enum/classForEnumEntry.kt | 1 - .../codegen/box/enum/modifierFlags.kt | 1 - .../codegen/box/enum/noClassForSimpleEnum.kt | 1 - .../box/fieldRename/jvmFieldNoClash2.kt | 1 - .../callSpecializedEqualsViaReflection.kt | 1 - .../inlineClasses/kt28920_javaObjectType.kt | 1 - .../codegen/box/intrinsics/javaObjectType.kt | 1 - .../box/intrinsics/javaPrimitiveType.kt | 1 - .../javaPrimitiveType_UnitAndNothing.kt | 1 - .../defaults/compatibility/defaultArgs.kt | 1 - .../noDelegationToDefaultMethodInClass.kt | 1 + .../primaryConstructorWithAllDefaults.kt | 1 - .../codegen/box/jvmOverloads/privateClass.kt | 1 - .../testData/codegen/box/mangling/field.kt | 1 - compiler/testData/codegen/box/mangling/fun.kt | 1 - .../exclExclThrowsKnpe_1_3.kt | 1 - .../testData/codegen/box/objects/kt3238.kt | 1 - .../codegen/box/parametersMetadata/enum.kt | 1 - .../parametersMetadata/extensionFunction.kt | 1 - .../box/parametersMetadata/function.kt | 1 - .../box/parametersMetadata/innerClass.kt | 1 - .../box/parametersMetadata/suspendFunction.kt | 1 - .../box/privateConstructors/synthetic.kt | 1 - .../box/properties/const/constFlags.kt | 1 - .../codegen/box/properties/kt12200.kt | 1 - .../box/properties/lateinit/visibility.kt | 1 - .../classLiterals/annotationClassLiteral.kt | 1 - .../classLiterals/builtinClassLiterals.kt | 1 - .../reflection/classLiterals/genericArrays.kt | 1 - .../reflection/classLiterals/genericClass.kt | 1 - .../classLiterals/simpleClassLiteral.kt | 1 - .../box/reflection/classes/classSimpleName.kt | 1 - .../reflection/classes/nestedClassesJava.kt | 1 - .../classes/qualifiedNameOfStandardClasses.kt | 1 - .../enclosing/localClassInTopLevelFunction.kt | 1 - .../functions/javaClassGetFunctions.kt | 1 - .../genericMethodSignature.kt | 1 - .../reflection/genericSignature/kt11121.kt | 1 - .../signatureOfSimpleInnerSimpleOuter.kt | 1 - .../reflection/kClassInAnnotation/basic.kt | 1 - .../methodsFromAny/classToString.kt | 1 - .../noReflectAtRuntime/primitiveJavaClass.kt | 1 - .../mutatePrivateJavaInstanceField.kt | 1 - .../mutatePrivateJavaStaticField.kt | 1 - .../privateFakeOverrideFromSuperclass.kt | 1 + .../codegen/box/regressions/kt1515.kt | 1 - .../codegen/box/regressions/kt3046.kt | 1 - .../codegen/box/regressions/kt4262.kt | 1 - .../box/regressions/referenceToSelfInLocal.kt | 1 - .../syntheticAccessorNames.kt | 1 - .../testData/codegen/box/typeMapping/kt309.kt | 1 - .../typeParameterMultipleBounds.kt | 1 - 84 files changed, 15 insertions(+), 87 deletions(-) diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/body/resolve/FirExpressionsResolveTransformer.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/body/resolve/FirExpressionsResolveTransformer.kt index 085d65c9f99..dfad6f94065 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/body/resolve/FirExpressionsResolveTransformer.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/body/resolve/FirExpressionsResolveTransformer.kt @@ -477,12 +477,19 @@ class FirExpressionsResolveTransformer(transformer: FirBodyResolveTransformer) : val typeOfExpression = when (val lhs = transformedGetClassCall.argument) { is FirResolvedQualifier -> { val symbol = lhs.symbol - symbol?.constructType( - Array((symbol.phasedFir as? FirTypeParametersOwner)?.typeParameters?.size ?: 0) { - ConeStarProjection - }, - isNullable = false, - ) ?: lhs.resultType.coneTypeUnsafe() + val typeRef = + symbol?.constructType( + Array((symbol.phasedFir as? FirTypeParametersOwner)?.typeParameters?.size ?: 0) { + ConeStarProjection + }, + isNullable = false, + ) + if (typeRef != null) { + lhs.replaceTypeRef(buildResolvedTypeRef { type = typeRef }) + typeRef + } else { + lhs.resultType.coneTypeUnsafe() + } } is FirResolvedReifiedParameterReference -> { val symbol = lhs.symbol diff --git a/compiler/testData/codegen/box/annotations/constValInAnnotation.kt b/compiler/testData/codegen/box/annotations/constValInAnnotation.kt index 6654f1670d4..8dea3327d3e 100644 --- a/compiler/testData/codegen/box/annotations/constValInAnnotation.kt +++ b/compiler/testData/codegen/box/annotations/constValInAnnotation.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +NestedClassesInAnnotations -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // TARGET_BACKEND: JVM // FILE: Foo.java diff --git a/compiler/testData/codegen/box/annotations/fileClassWithFileAnnotation.kt b/compiler/testData/codegen/box/annotations/fileClassWithFileAnnotation.kt index e979b187fa6..959f79f2aa2 100644 --- a/compiler/testData/codegen/box/annotations/fileClassWithFileAnnotation.kt +++ b/compiler/testData/codegen/box/annotations/fileClassWithFileAnnotation.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt b/compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt index 554be3f31b3..b94528d63d5 100644 --- a/compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt +++ b/compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.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/assert/jvm/classAssertions.kt b/compiler/testData/codegen/box/assert/jvm/classAssertions.kt index b06435cbdc5..0bcb3914bcd 100644 --- a/compiler/testData/codegen/box/assert/jvm/classAssertions.kt +++ b/compiler/testData/codegen/box/assert/jvm/classAssertions.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/assert/jvm/classAssertionsForCompanion.kt b/compiler/testData/codegen/box/assert/jvm/classAssertionsForCompanion.kt index ef6beb5f955..0b765861c84 100644 --- a/compiler/testData/codegen/box/assert/jvm/classAssertionsForCompanion.kt +++ b/compiler/testData/codegen/box/assert/jvm/classAssertionsForCompanion.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/assert/jvm/classAssertionsForInnerClasses.kt b/compiler/testData/codegen/box/assert/jvm/classAssertionsForInnerClasses.kt index c74004fbdaf..6f53cdb07b3 100644 --- a/compiler/testData/codegen/box/assert/jvm/classAssertionsForInnerClasses.kt +++ b/compiler/testData/codegen/box/assert/jvm/classAssertionsForInnerClasses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm diff --git a/compiler/testData/codegen/box/assert/jvm/classAssertionsForLocalClasses.kt b/compiler/testData/codegen/box/assert/jvm/classAssertionsForLocalClasses.kt index 895d685edb7..96366cc33bb 100644 --- a/compiler/testData/codegen/box/assert/jvm/classAssertionsForLocalClasses.kt +++ b/compiler/testData/codegen/box/assert/jvm/classAssertionsForLocalClasses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm diff --git a/compiler/testData/codegen/box/assert/jvm/classAssertionsForNestedClasses.kt b/compiler/testData/codegen/box/assert/jvm/classAssertionsForNestedClasses.kt index b2a3d7d3249..74963866c2e 100644 --- a/compiler/testData/codegen/box/assert/jvm/classAssertionsForNestedClasses.kt +++ b/compiler/testData/codegen/box/assert/jvm/classAssertionsForNestedClasses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm diff --git a/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.kt b/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.kt index e73304e4ad7..023a189eccf 100644 --- a/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.kt +++ b/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.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/assert/jvm/interfaceAssertionsEnabled.kt b/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsEnabled.kt index 73a38d3af9a..3878018bf55 100644 --- a/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsEnabled.kt +++ b/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsEnabled.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/assert/jvm/localAnonymousFunction.kt b/compiler/testData/codegen/box/assert/jvm/localAnonymousFunction.kt index a88091df517..6bcd5092ed2 100644 --- a/compiler/testData/codegen/box/assert/jvm/localAnonymousFunction.kt +++ b/compiler/testData/codegen/box/assert/jvm/localAnonymousFunction.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/assert/jvm/localClass.kt b/compiler/testData/codegen/box/assert/jvm/localClass.kt index dabd2c3515e..6369b054fbb 100644 --- a/compiler/testData/codegen/box/assert/jvm/localClass.kt +++ b/compiler/testData/codegen/box/assert/jvm/localClass.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/assert/jvm/localFunction.kt b/compiler/testData/codegen/box/assert/jvm/localFunction.kt index 67ee0ec4982..79d0ee1850e 100644 --- a/compiler/testData/codegen/box/assert/jvm/localFunction.kt +++ b/compiler/testData/codegen/box/assert/jvm/localFunction.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/assert/jvm/localLambda.kt b/compiler/testData/codegen/box/assert/jvm/localLambda.kt index b786f280bd6..8b84cdbd072 100644 --- a/compiler/testData/codegen/box/assert/jvm/localLambda.kt +++ b/compiler/testData/codegen/box/assert/jvm/localLambda.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/assert/jvm/localObject.kt b/compiler/testData/codegen/box/assert/jvm/localObject.kt index 6ec1ab10a4f..1d5a992e10f 100644 --- a/compiler/testData/codegen/box/assert/jvm/localObject.kt +++ b/compiler/testData/codegen/box/assert/jvm/localObject.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/assert/jvm/nonLocalReturn.kt b/compiler/testData/codegen/box/assert/jvm/nonLocalReturn.kt index 6ac457f1988..518cba40697 100644 --- a/compiler/testData/codegen/box/assert/jvm/nonLocalReturn.kt +++ b/compiler/testData/codegen/box/assert/jvm/nonLocalReturn.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/assert/jvm/ordinary.kt b/compiler/testData/codegen/box/assert/jvm/ordinary.kt index df98ec32aec..198579a1e74 100644 --- a/compiler/testData/codegen/box/assert/jvm/ordinary.kt +++ b/compiler/testData/codegen/box/assert/jvm/ordinary.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/assert/legacy.kt b/compiler/testData/codegen/box/assert/legacy.kt index fc70b7da6b5..79a99fcfa8d 100644 --- a/compiler/testData/codegen/box/assert/legacy.kt +++ b/compiler/testData/codegen/box/assert/legacy.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=legacy // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt b/compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt index 411d352d9e4..635e9949a6f 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM fun test(a: Any) = when (a::class) { diff --git a/compiler/testData/codegen/box/boxingOptimization/kt17748.kt b/compiler/testData/codegen/box/boxingOptimization/kt17748.kt index bbabd0ceeba..1639def43c6 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt17748.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt17748.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt b/compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt index 446e1a77257..0ad3f21ed92 100644 --- a/compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt +++ b/compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/classLiteral/bareArray.kt b/compiler/testData/codegen/box/classLiteral/bareArray.kt index d3dfd5da58e..8342abf6b90 100644 --- a/compiler/testData/codegen/box/classLiteral/bareArray.kt +++ b/compiler/testData/codegen/box/classLiteral/bareArray.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +BareArrayClassLiteral -// IGNORE_BACKEND_FIR: JVM_IR fun box(): String { val x = Array(1) { Any() } diff --git a/compiler/testData/codegen/box/classLiteral/bound/javaIntrinsicWithSideEffect.kt b/compiler/testData/codegen/box/classLiteral/bound/javaIntrinsicWithSideEffect.kt index 8ae47546d28..004dc44080c 100644 --- a/compiler/testData/codegen/box/classLiteral/bound/javaIntrinsicWithSideEffect.kt +++ b/compiler/testData/codegen/box/classLiteral/bound/javaIntrinsicWithSideEffect.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/classLiteral/bound/primitives.kt b/compiler/testData/codegen/box/classLiteral/bound/primitives.kt index f309b3b9d23..c2fd3c472e9 100644 --- a/compiler/testData/codegen/box/classLiteral/bound/primitives.kt +++ b/compiler/testData/codegen/box/classLiteral/bound/primitives.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt b/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt index 7a8e473547d..8e49969f7e8 100644 --- a/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt +++ b/compiler/testData/codegen/box/classLiteral/bound/sideEffect.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/classLiteral/bound/simple.kt b/compiler/testData/codegen/box/classLiteral/bound/simple.kt index cce260b5297..6c7092c7bbb 100644 --- a/compiler/testData/codegen/box/classLiteral/bound/simple.kt +++ b/compiler/testData/codegen/box/classLiteral/bound/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun box(): String { val x: CharSequence = "" diff --git a/compiler/testData/codegen/box/classLiteral/java/javaObjectType.kt b/compiler/testData/codegen/box/classLiteral/java/javaObjectType.kt index e11f26d5b59..5aedf4dd8bd 100644 --- a/compiler/testData/codegen/box/classLiteral/java/javaObjectType.kt +++ b/compiler/testData/codegen/box/classLiteral/java/javaObjectType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/classLiteral/java/javaPrimitiveType.kt b/compiler/testData/codegen/box/classLiteral/java/javaPrimitiveType.kt index 1ae7f26546d..fe21c6545ad 100644 --- a/compiler/testData/codegen/box/classLiteral/java/javaPrimitiveType.kt +++ b/compiler/testData/codegen/box/classLiteral/java/javaPrimitiveType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt b/compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt index 9f191721f57..9591a15c803 100644 --- a/compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt +++ b/compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/defaultArguments/superCallCheck.kt b/compiler/testData/codegen/box/defaultArguments/superCallCheck.kt index 311f3ad5af3..318c26e6331 100644 --- a/compiler/testData/codegen/box/defaultArguments/superCallCheck.kt +++ b/compiler/testData/codegen/box/defaultArguments/superCallCheck.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/defaultArguments/superCallHandlerOrder.kt b/compiler/testData/codegen/box/defaultArguments/superCallHandlerOrder.kt index 73d4028d622..7e8a2166e64 100644 --- a/compiler/testData/codegen/box/defaultArguments/superCallHandlerOrder.kt +++ b/compiler/testData/codegen/box/defaultArguments/superCallHandlerOrder.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/enum/classForEnumEntry.kt b/compiler/testData/codegen/box/enum/classForEnumEntry.kt index 2f8f115cb8d..4d64e8641df 100644 --- a/compiler/testData/codegen/box/enum/classForEnumEntry.kt +++ b/compiler/testData/codegen/box/enum/classForEnumEntry.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/enum/modifierFlags.kt b/compiler/testData/codegen/box/enum/modifierFlags.kt index 7383debb0b4..7a8e95415f6 100644 --- a/compiler/testData/codegen/box/enum/modifierFlags.kt +++ b/compiler/testData/codegen/box/enum/modifierFlags.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/enum/noClassForSimpleEnum.kt b/compiler/testData/codegen/box/enum/noClassForSimpleEnum.kt index 72c68593e5e..0ec3390f457 100644 --- a/compiler/testData/codegen/box/enum/noClassForSimpleEnum.kt +++ b/compiler/testData/codegen/box/enum/noClassForSimpleEnum.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/fieldRename/jvmFieldNoClash2.kt b/compiler/testData/codegen/box/fieldRename/jvmFieldNoClash2.kt index 78c48e5b1a8..5b6f9c25fdc 100644 --- a/compiler/testData/codegen/box/fieldRename/jvmFieldNoClash2.kt +++ b/compiler/testData/codegen/box/fieldRename/jvmFieldNoClash2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/inlineClasses/callSpecializedEqualsViaReflection.kt b/compiler/testData/codegen/box/inlineClasses/callSpecializedEqualsViaReflection.kt index d9c063f8df0..74874963c9e 100644 --- a/compiler/testData/codegen/box/inlineClasses/callSpecializedEqualsViaReflection.kt +++ b/compiler/testData/codegen/box/inlineClasses/callSpecializedEqualsViaReflection.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_REFLECT // FULL_JDK // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/inlineClasses/kt28920_javaObjectType.kt b/compiler/testData/codegen/box/inlineClasses/kt28920_javaObjectType.kt index 9553c8b4aeb..8646d43ed97 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt28920_javaObjectType.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt28920_javaObjectType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/intrinsics/javaObjectType.kt b/compiler/testData/codegen/box/intrinsics/javaObjectType.kt index 5af76dff672..7384846d2d7 100644 --- a/compiler/testData/codegen/box/intrinsics/javaObjectType.kt +++ b/compiler/testData/codegen/box/intrinsics/javaObjectType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt b/compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt index 773ce3a7792..950fa3ce887 100644 --- a/compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt +++ b/compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/intrinsics/javaPrimitiveType_UnitAndNothing.kt b/compiler/testData/codegen/box/intrinsics/javaPrimitiveType_UnitAndNothing.kt index fdf0724a762..0409f06d7a3 100644 --- a/compiler/testData/codegen/box/intrinsics/javaPrimitiveType_UnitAndNothing.kt +++ b/compiler/testData/codegen/box/intrinsics/javaPrimitiveType_UnitAndNothing.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/jvm8/defaults/compatibility/defaultArgs.kt b/compiler/testData/codegen/box/jvm8/defaults/compatibility/defaultArgs.kt index 492cf8c485b..1f386b69644 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/compatibility/defaultArgs.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/compatibility/defaultArgs.kt @@ -1,5 +1,4 @@ // !JVM_DEFAULT_MODE: compatibility -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvm8/defaults/noDelegation/noDelegationToDefaultMethodInClass.kt b/compiler/testData/codegen/box/jvm8/defaults/noDelegation/noDelegationToDefaultMethodInClass.kt index 23a69b0086d..4c71cc93760 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/noDelegation/noDelegationToDefaultMethodInClass.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/noDelegation/noDelegationToDefaultMethodInClass.kt @@ -1,4 +1,5 @@ // !JVM_DEFAULT_MODE: enable +// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvmOverloads/primaryConstructorWithAllDefaults.kt b/compiler/testData/codegen/box/jvmOverloads/primaryConstructorWithAllDefaults.kt index 71d82913f74..a77c0b54757 100644 --- a/compiler/testData/codegen/box/jvmOverloads/primaryConstructorWithAllDefaults.kt +++ b/compiler/testData/codegen/box/jvmOverloads/primaryConstructorWithAllDefaults.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvmOverloads/privateClass.kt b/compiler/testData/codegen/box/jvmOverloads/privateClass.kt index 00ecdaae4f8..772a5ea10e6 100644 --- a/compiler/testData/codegen/box/jvmOverloads/privateClass.kt +++ b/compiler/testData/codegen/box/jvmOverloads/privateClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/mangling/field.kt b/compiler/testData/codegen/box/mangling/field.kt index 15230469f11..221cb830788 100644 --- a/compiler/testData/codegen/box/mangling/field.kt +++ b/compiler/testData/codegen/box/mangling/field.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/mangling/fun.kt b/compiler/testData/codegen/box/mangling/fun.kt index dbfe7407546..f720e9ca53a 100644 --- a/compiler/testData/codegen/box/mangling/fun.kt +++ b/compiler/testData/codegen/box/mangling/fun.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/nullCheckOptimization/exclExclThrowsKnpe_1_3.kt b/compiler/testData/codegen/box/nullCheckOptimization/exclExclThrowsKnpe_1_3.kt index 2f5a0d0bec3..14de0821e57 100644 --- a/compiler/testData/codegen/box/nullCheckOptimization/exclExclThrowsKnpe_1_3.kt +++ b/compiler/testData/codegen/box/nullCheckOptimization/exclExclThrowsKnpe_1_3.kt @@ -1,6 +1,5 @@ // !API_VERSION: 1.3 // WITH_RUNTIME -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM fun box(): String { diff --git a/compiler/testData/codegen/box/objects/kt3238.kt b/compiler/testData/codegen/box/objects/kt3238.kt index ca60417475c..c8a849f45b5 100644 --- a/compiler/testData/codegen/box/objects/kt3238.kt +++ b/compiler/testData/codegen/box/objects/kt3238.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/parametersMetadata/enum.kt b/compiler/testData/codegen/box/parametersMetadata/enum.kt index 5406e349b16..4008e1dfa34 100644 --- a/compiler/testData/codegen/box/parametersMetadata/enum.kt +++ b/compiler/testData/codegen/box/parametersMetadata/enum.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt b/compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt index 0caf08dd131..4f76781e1c7 100644 --- a/compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt +++ b/compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/function.kt b/compiler/testData/codegen/box/parametersMetadata/function.kt index 239203945f7..fb989de805a 100644 --- a/compiler/testData/codegen/box/parametersMetadata/function.kt +++ b/compiler/testData/codegen/box/parametersMetadata/function.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/innerClass.kt b/compiler/testData/codegen/box/parametersMetadata/innerClass.kt index 42875f22d6f..7d6d6cd9ef9 100644 --- a/compiler/testData/codegen/box/parametersMetadata/innerClass.kt +++ b/compiler/testData/codegen/box/parametersMetadata/innerClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/suspendFunction.kt b/compiler/testData/codegen/box/parametersMetadata/suspendFunction.kt index 0f3c48f1cb5..5be423553b6 100644 --- a/compiler/testData/codegen/box/parametersMetadata/suspendFunction.kt +++ b/compiler/testData/codegen/box/parametersMetadata/suspendFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/privateConstructors/synthetic.kt b/compiler/testData/codegen/box/privateConstructors/synthetic.kt index b3550651b3e..b8eec43f3ae 100644 --- a/compiler/testData/codegen/box/privateConstructors/synthetic.kt +++ b/compiler/testData/codegen/box/privateConstructors/synthetic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/const/constFlags.kt b/compiler/testData/codegen/box/properties/const/constFlags.kt index c72003af7dd..13f2b8dcb07 100644 --- a/compiler/testData/codegen/box/properties/const/constFlags.kt +++ b/compiler/testData/codegen/box/properties/const/constFlags.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/kt12200.kt b/compiler/testData/codegen/box/properties/kt12200.kt index 00f937c0cad..24edf190bd4 100644 --- a/compiler/testData/codegen/box/properties/kt12200.kt +++ b/compiler/testData/codegen/box/properties/kt12200.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM //WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/lateinit/visibility.kt b/compiler/testData/codegen/box/properties/lateinit/visibility.kt index 7fc9a3b24ac..7773f38e555 100644 --- a/compiler/testData/codegen/box/properties/lateinit/visibility.kt +++ b/compiler/testData/codegen/box/properties/lateinit/visibility.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt b/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt index 92706ef71ce..28d5dd9a046 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt b/compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt index 980889a7b3f..4238d30fcc4 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/classLiterals/genericArrays.kt b/compiler/testData/codegen/box/reflection/classLiterals/genericArrays.kt index 6d0da4b7a9e..226a0924273 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/genericArrays.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/genericArrays.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt b/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt index 391d652b0a6..5c0fabfb976 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt b/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt index 6ad5b0db79b..966c774df65 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classes/classSimpleName.kt b/compiler/testData/codegen/box/reflection/classes/classSimpleName.kt index 0dfdd700e35..d88cd3c5749 100644 --- a/compiler/testData/codegen/box/reflection/classes/classSimpleName.kt +++ b/compiler/testData/codegen/box/reflection/classes/classSimpleName.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/classes/nestedClassesJava.kt b/compiler/testData/codegen/box/reflection/classes/nestedClassesJava.kt index c08f1d46dc4..13d2663355a 100644 --- a/compiler/testData/codegen/box/reflection/classes/nestedClassesJava.kt +++ b/compiler/testData/codegen/box/reflection/classes/nestedClassesJava.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classes/qualifiedNameOfStandardClasses.kt b/compiler/testData/codegen/box/reflection/classes/qualifiedNameOfStandardClasses.kt index 3d448578f14..550a3e47ff3 100644 --- a/compiler/testData/codegen/box/reflection/classes/qualifiedNameOfStandardClasses.kt +++ b/compiler/testData/codegen/box/reflection/classes/qualifiedNameOfStandardClasses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt b/compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt index 67136f41d9c..4356824e685 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt b/compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt index 717268383e2..9623e49c720 100644 --- a/compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt +++ b/compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/genericSignature/genericMethodSignature.kt b/compiler/testData/codegen/box/reflection/genericSignature/genericMethodSignature.kt index 6b373e070ce..f760ed9ab6d 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/genericMethodSignature.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/genericMethodSignature.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/genericSignature/kt11121.kt b/compiler/testData/codegen/box/reflection/genericSignature/kt11121.kt index 993643f0f44..3d12e88a93c 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/kt11121.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/kt11121.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt index 953cf490297..abb62c73051 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/kClassInAnnotation/basic.kt b/compiler/testData/codegen/box/reflection/kClassInAnnotation/basic.kt index 4aed2940ff9..1bff2410205 100644 --- a/compiler/testData/codegen/box/reflection/kClassInAnnotation/basic.kt +++ b/compiler/testData/codegen/box/reflection/kClassInAnnotation/basic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/classToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/classToString.kt index ad5ba52ae91..6d50f405aeb 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/classToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/classToString.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/primitiveJavaClass.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/primitiveJavaClass.kt index 26a511774a8..12c1b29ed46 100644 --- a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/primitiveJavaClass.kt +++ b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/primitiveJavaClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaInstanceField.kt b/compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaInstanceField.kt index fe72a993907..71be722ff78 100644 --- a/compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaInstanceField.kt +++ b/compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaInstanceField.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaStaticField.kt b/compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaStaticField.kt index b8c43ef4377..9b2d547a43e 100644 --- a/compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaStaticField.kt +++ b/compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaStaticField.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt b/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt index d1913ec8c12..9c3d4735984 100644 --- a/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt +++ b/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt @@ -1,3 +1,4 @@ +// 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/kt1515.kt b/compiler/testData/codegen/box/regressions/kt1515.kt index 5e79b61b2a2..67e673e96f1 100644 --- a/compiler/testData/codegen/box/regressions/kt1515.kt +++ b/compiler/testData/codegen/box/regressions/kt1515.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt3046.kt b/compiler/testData/codegen/box/regressions/kt3046.kt index 8076f933b71..bf4221b3c5c 100644 --- a/compiler/testData/codegen/box/regressions/kt3046.kt +++ b/compiler/testData/codegen/box/regressions/kt3046.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt4262.kt b/compiler/testData/codegen/box/regressions/kt4262.kt index 263aa635b17..a68c3213170 100644 --- a/compiler/testData/codegen/box/regressions/kt4262.kt +++ b/compiler/testData/codegen/box/regressions/kt4262.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/referenceToSelfInLocal.kt b/compiler/testData/codegen/box/regressions/referenceToSelfInLocal.kt index 834e100def7..0904542ac8c 100644 --- a/compiler/testData/codegen/box/regressions/referenceToSelfInLocal.kt +++ b/compiler/testData/codegen/box/regressions/referenceToSelfInLocal.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/syntheticAccessors/syntheticAccessorNames.kt b/compiler/testData/codegen/box/syntheticAccessors/syntheticAccessorNames.kt index 87d81c14140..7c37f4284aa 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/syntheticAccessorNames.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/syntheticAccessorNames.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/typeMapping/kt309.kt b/compiler/testData/codegen/box/typeMapping/kt309.kt index 7b5f2c85841..c50c6eb951e 100644 --- a/compiler/testData/codegen/box/typeMapping/kt309.kt +++ b/compiler/testData/codegen/box/typeMapping/kt309.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/typeMapping/typeParameterMultipleBounds.kt b/compiler/testData/codegen/box/typeMapping/typeParameterMultipleBounds.kt index 9adbb68d631..4c4f2037be3 100644 --- a/compiler/testData/codegen/box/typeMapping/typeParameterMultipleBounds.kt +++ b/compiler/testData/codegen/box/typeMapping/typeParameterMultipleBounds.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME