From f83c20065dd4b5be6ab163a08e11250481b52114 Mon Sep 17 00:00:00 2001 From: "simon.ogorodnik" Date: Tue, 24 Mar 2020 02:24:14 +0300 Subject: [PATCH] [FIR-test] Unmute passing tests, mostly fir2ir --- .../accessArrayOfInlineClass.kt | 1 - .../arrayOfInlineClassOfArrayOfInlineClass.kt | 1 - .../codegen/box/inlineClasses/anySuperCall.kt | 1 - ...fInlineClassWithPrimitiveUnderlyingType.kt | 1 - .../boxResultInlineClassOfConstructorCall.kt | 1 - ...oxUnboxInlineClassesWithOperatorsGetSet.kt | 1 - .../bridgeForFunctionReturningInlineClass.kt | 1 - .../bridgeGenerationWithInlineClassOverAny.kt | 1 - ...callComputablePropertyInsideInlineClass.kt | 1 - .../funWithInlineClassParameters.kt | 1 - .../inlineClassExtensionFun.kt | 1 - .../inlineClassInternalPrimaryVal.kt | 1 - .../inlineClassMemberFun.kt | 1 - .../inlineClassMemberVal.kt | 1 - .../inlineClassPrimaryConstructor.kt | 1 - .../inlineClassPrimaryVal.kt | 1 - .../inlineClassPrivatePrimaryVal.kt | 1 - .../inlineClassTypeMemberVar.kt | 1 - .../inlineClassTypeTopLevelVar.kt | 1 - .../inlineClasses/castInsideWhenExpression.kt | 1 - ...ckBoxUnboxOfArgumentsOnInlinedFunctions.kt | 1 - .../checkBoxingAfterAssertionOperator.kt | 1 - ...checkBoxingForNonLocalAndLabeledReturns.kt | 1 - ...eckBoxingFromReturnTypeForInlineClasses.kt | 1 - .../checkBoxingOnFunctionCalls.kt | 1 - .../checkBoxingOnLocalVariableAssignments.kt | 1 - .../checkCallingMembersInsideInlineClass.kt | 1 - .../inlineClasses/checkCastToInlineClass.kt | 1 - .../checkForInstanceOfInlineClass.kt | 1 - ...LambdaWithInlineClassesInFunctionalType.kt | 1 - .../checkUnboxingResultFromTypeVariable.kt | 1 - .../computablePropertyInsideInlineClass.kt | 1 - ...nformToComparableAndCallInterfaceMethod.kt | 1 - ...accessPrivateInlineClassCompanionMethod.kt | 1 - ...ccessPrivateInlineClassCompanionMethod2.kt | 1 - ...vateInlineClassConstructorFromCompanion.kt | 1 - ...ssPrivateInlineClassMethodFromCompanion.kt | 1 - ...sPrivateInlineClassMethodFromCompanion2.kt | 1 - ...rivateInlineClassMethodFromInlineLambda.kt | 1 - ...ivateInlineClassMethodFromInlineLambda2.kt | 1 - ...PrivateStaticInlineClassCompanionMethod.kt | 1 - .../inlineLambdaInInlineClassFun.kt | 1 - .../contextsAndAccessors/kt26858.kt | 1 - .../contextsAndAccessors/kt30780.kt | 1 - .../lambdaInInlineClassFun.kt | 1 - .../toPrivateCompanionFun.kt | 1 - .../toPrivateCompanionVal.kt | 1 - .../crossinlineWithInlineClassInParameter.kt | 1 - ...tructorParameterValuesOfInlineClassType.kt | 1 - ...defaultParameterValuesOfInlineClassType.kt | 1 - ...efaultValueOfInlineClassTypeInInlineFun.kt | 1 - ...InlineClassTypeInInlineFunInInlineClass.kt | 1 - .../defaultParameterValues/inlineClassFun.kt | 1 - .../inlineClassPrimaryConstructor.kt | 1 - .../inlineClassSecondaryConstructor.kt | 1 - .../defaultParameterValues/kt26554.kt | 1 - .../defaultParameterValues/kt27416.kt | 1 - .../defaultWithInlineClassArgument.kt | 1 - .../elvisWithInlineClassAndNullConstant.kt | 1 - .../emptyConstructorForInlineClass.kt | 1 - .../equalityChecksMixedNullability.kt | 1 - ...tyForBoxesOfNullableValuesOfInlineClass.kt | 1 - .../inlineClasses/equalsCallsLeftArgument.kt | 1 - .../equalsEvaluationOrderNonNull.kt | 1 - .../equalsEvaluationOrderNullable.kt | 1 - .../equalsEvaluationOrderPrimitive.kt | 1 - .../equalsOperatorWithGenericCall.kt | 1 - .../extLambdaInInlineClassFun.kt | 1 - .../extLambdaInInlineClassFun2.kt | 1 - ...nonymousObjectInFunctionWithMangledName.kt | 1 - .../extensionFunctionsDoNotClash.kt | 1 - ...tionsWithDifferentNullabilityDoNotClash.kt | 1 - .../genericFunctionsDoNotClash.kt | 1 - .../localClassInFunctionWithMangledName.kt | 1 - .../mangledFunctionsCanBeOverridden.kt | 1 - .../mangledFunctionsDoNotClash.kt | 1 - .../mangledFunctionsPresentInStackTrace.kt | 1 - .../mixedSignatureFunctionsDoNotClash.kt | 1 - .../overridingMethodInGenericClass.kt | 1 - .../overridingMethodInGenericClass2.kt | 1 - ...opertySetterWithInlineClassTypeArgument.kt | 1 - .../genericInlineClassSynthMembers.kt | 1 - .../constructorReferencedFromOtherFile1.kt | 1 - .../constructorReferencedFromOtherFile2.kt | 1 - .../constructorWithDefaultParameters.kt | 1 - .../delegatingSuperConstructorCall.kt | 1 - .../delegatingThisConstructorCall.kt | 1 - .../hiddenConstructor/enumClassConstructor.kt | 1 - .../hiddenConstructor/kt28855.kt | 1 - .../hiddenConstructor/primaryConstructor.kt | 1 - .../hiddenConstructor/privateConstructor.kt | 1 - .../sealedClassConstructor.kt | 1 - .../hiddenConstructor/secondaryConstructor.kt | 1 - .../inlineClassAsLastExpressionInInLambda.kt | 1 - ...ShouldUseTotalOrderForFloatingPointData.kt | 1 - .../inlineClassFunctionInvoke.kt | 1 - .../inlineClassPropertyReferenceGetAndSet.kt | 1 - .../inlineClassValueCapturedInInlineLambda.kt | 1 - ...lineClassValueCapturedInNonInlineLambda.kt | 1 - .../inlineClassesAsInlineFunParameters.kt | 1 - .../inlineClasses/inlineClassesCheckCast.kt | 1 - .../inlineClassesInInlineLambdaParameters.kt | 1 - ...ClassesRefTypesInInlineLambdaParameters.kt | 1 - .../inlineExtLambdaInInlineClassFun.kt | 1 - .../inlineExtLambdaInInlineClassFun2.kt | 1 - .../inlineFunctionInsideInlineClass.kt | 1 - ...lexGenericMethodWithInlineClassOverride.kt | 1 - .../genericInterfaceMethodCall.kt | 1 - .../genericMethodWithInlineClassOverride.kt | 1 - .../overriddenDefaultInterfaceMethodCall.kt | 1 - .../iterateOverArrayOfInlineClassValues.kt | 1 - .../iterateOverListOfInlineClassValues.kt | 1 - .../box/inlineClasses/javaPrimitiveTypeIC.kt | 1 - .../jvmStaticVarInInlineClassCompanion.kt | 1 - .../codegen/box/inlineClasses/kt25246.kt | 1 - .../codegen/box/inlineClasses/kt25771.kt | 1 - .../kt26103_covariantUnderlyingType.kt | 1 - .../codegen/box/inlineClasses/kt27113.kt | 1 - .../codegen/box/inlineClasses/kt28879.kt | 1 - .../codegen/box/inlineClasses/kt33119.kt | 1 - .../mangledDefaultParameterFunction.kt | 1 - ...ertionsOnInlineClassBasedOnNullableType.kt | 1 - .../inlineClasses/passInlineClassAsVararg.kt | 1 - ...sInlineClassWithSpreadOperatorToVarargs.kt | 1 - .../delegateTopLevelVarToInlineClass.kt | 1 - ...oPropertyInCompanionObjectOfInlineClass.kt | 1 - ...erToUnderlyingPropertyInsideInlineClass.kt | 1 - .../referToUnderlyingPropertyOfInlineClass.kt | 1 - .../box/inlineClasses/resultInlining.kt | 1 - .../inlineClasses/resultRunCatchingOrElse.kt | 1 - .../secondaryConstructorWithVararg.kt | 1 - .../secondaryConstructorsInsideInlineClass.kt | 1 - ...sideInlineClassWithPrimitiveCarrierType.kt | 1 - .../simpleSecondaryConstructor.kt | 1 - .../typeChecksForInlineClasses.kt | 1 - ...fInlineClassWithPrimitiveUnderlyingType.kt | 1 - ...xReceiverOnCallingMethodFromInlineClass.kt | 1 - .../unboxValueFromPlatformType.kt | 1 - .../unboxValueOfAnyBeforeMethodInvocation.kt | 1 - .../useInlineClassesInsideElvisOperator.kt | 1 - .../useInlineFunctionInsideInlineClass.kt | 1 - ...eOfInlineClassWithGenericMethodFromJava.kt | 1 - .../inlineClasses/useThisInsideInlineClass.kt | 1 - .../inlineClassMethodParameterModifiers.kt | 1 - .../inlineClassMethodParameterNames.kt | 1 - .../ranges/unsigned/expression/emptyDownto.kt | 1 - .../ranges/unsigned/expression/emptyRange.kt | 1 - .../expression/reversedEmptyBackSequence.kt | 1 - .../unsigned/expression/reversedEmptyRange.kt | 1 - .../codegen/box/ranges/unsigned/kt35004.kt | 1 - .../ranges/unsigned/literal/emptyDownto.kt | 1 - .../box/ranges/unsigned/literal/emptyRange.kt | 1 - .../literal/reversedEmptyBackSequence.kt | 1 - .../unsigned/literal/reversedEmptyRange.kt | 1 - .../typeOf/noReflect/inlineClasses.kt | 1 - .../boxConstValOfUnsignedType.kt | 2 +- .../unsignedTypes/boxedUnsignedEqualsZero.kt | 1 - .../nullableUnsignedEqualsLiteral.kt | 1 - .../unsignedLiteralsForMaxLongValue.kt | 1 - .../unsignedLiteralsWithSignedOverflow.kt | 1 - .../box/unsignedTypes/unsignedLongDivide.kt | 1 - .../box/unsignedTypes/unsignedLongToString.kt | 1 - .../unsignedToSignedConversion.kt | 1 - ...ignedTypePrefixIncrementDecrementBoxing.kt | 1 - .../box/unsignedTypes/whenByUnsigned.kt | 1 - .../experimentalUnsignedLiterals.fir.kt | 2 +- .../signedToUnsignedConversions_test.fir.txt | 12 +-- .../unsignedIntegerLiterals.fir.txt | 95 ------------------- .../expressions/unsignedIntegerLiterals.kt | 1 + 169 files changed, 9 insertions(+), 267 deletions(-) delete mode 100644 compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.fir.txt diff --git a/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfInlineClass.kt b/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfInlineClass.kt index 6189301bd62..bd47e1ea050 100644 --- a/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfInlineClass.kt +++ b/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val data: Int) diff --git a/compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt b/compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt index d690289406e..c4abf73bed8 100644 --- a/compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt +++ b/compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/anySuperCall.kt b/compiler/testData/codegen/box/inlineClasses/anySuperCall.kt index b1ff264894f..3c62f948f1d 100644 --- a/compiler/testData/codegen/box/inlineClasses/anySuperCall.kt +++ b/compiler/testData/codegen/box/inlineClasses/anySuperCall.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JVM inline class A(val x: Int) { diff --git a/compiler/testData/codegen/box/inlineClasses/boxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt b/compiler/testData/codegen/box/inlineClasses/boxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt index 7d12ab5b638..a8609223df4 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR class BoxT(val boxed: T) class BoxAny(val boxed: Any?) diff --git a/compiler/testData/codegen/box/inlineClasses/boxResultInlineClassOfConstructorCall.kt b/compiler/testData/codegen/box/inlineClasses/boxResultInlineClassOfConstructorCall.kt index daaf80ebdb6..3999a3dbff7 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxResultInlineClassOfConstructorCall.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxResultInlineClassOfConstructorCall.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Result(val a: Any?) diff --git a/compiler/testData/codegen/box/inlineClasses/boxUnboxInlineClassesWithOperatorsGetSet.kt b/compiler/testData/codegen/box/inlineClasses/boxUnboxInlineClassesWithOperatorsGetSet.kt index 9a656cccef6..b5d071cbb02 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxUnboxInlineClassesWithOperatorsGetSet.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxUnboxInlineClassesWithOperatorsGetSet.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(private val value: Int) { fun asInt() = value diff --git a/compiler/testData/codegen/box/inlineClasses/bridgeForFunctionReturningInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/bridgeForFunctionReturningInlineClass.kt index 88eb1f9db9e..9cb37f7cba4 100644 --- a/compiler/testData/codegen/box/inlineClasses/bridgeForFunctionReturningInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/bridgeForFunctionReturningInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class IC(val x: String) diff --git a/compiler/testData/codegen/box/inlineClasses/bridgeGenerationWithInlineClassOverAny.kt b/compiler/testData/codegen/box/inlineClasses/bridgeGenerationWithInlineClassOverAny.kt index 9584bcb3182..a81e1b9140a 100644 --- a/compiler/testData/codegen/box/inlineClasses/bridgeGenerationWithInlineClassOverAny.kt +++ b/compiler/testData/codegen/box/inlineClasses/bridgeGenerationWithInlineClassOverAny.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Result(val a: Any?) { fun getOrThrow(): T = a as T diff --git a/compiler/testData/codegen/box/inlineClasses/callComputablePropertyInsideInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/callComputablePropertyInsideInlineClass.kt index d73e413065b..3ba5361784f 100644 --- a/compiler/testData/codegen/box/inlineClasses/callComputablePropertyInsideInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/callComputablePropertyInsideInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Props(val intArray: IntArray) { val size get() = intArray.size diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/funWithInlineClassParameters.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/funWithInlineClassParameters.kt index 9d30398fa65..4d926fe3611 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/funWithInlineClassParameters.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/funWithInlineClassParameters.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionFun.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionFun.kt index ca4ef32e47c..1d5ba6d0e2f 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassInternalPrimaryVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassInternalPrimaryVal.kt index f1756e43c74..c7477995ee7 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassInternalPrimaryVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassInternalPrimaryVal.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberFun.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberFun.kt index d2bfdf2a1fe..075cb639c90 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) { diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberVal.kt index 145105e4202..3382c4148f3 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberVal.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) { diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryConstructor.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryConstructor.kt index 87ba6cb04fe..f41492d012a 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryVal.kt index 73eb6605901..e585afa7e4e 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryVal.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryVal.kt index ecb3906cdb4..142b2b798eb 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryVal.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeMemberVar.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeMemberVar.kt index f2902176cdb..17764bb1826 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeMemberVar.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeMemberVar.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt index 0c84b7e8db3..e7942b503ce 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/castInsideWhenExpression.kt b/compiler/testData/codegen/box/inlineClasses/castInsideWhenExpression.kt index 63c121f124c..95700b20a13 100644 --- a/compiler/testData/codegen/box/inlineClasses/castInsideWhenExpression.kt +++ b/compiler/testData/codegen/box/inlineClasses/castInsideWhenExpression.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val x: Any) { fun bar() {} diff --git a/compiler/testData/codegen/box/inlineClasses/checkBoxUnboxOfArgumentsOnInlinedFunctions.kt b/compiler/testData/codegen/box/inlineClasses/checkBoxUnboxOfArgumentsOnInlinedFunctions.kt index 0296299e323..e943ffe85eb 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkBoxUnboxOfArgumentsOnInlinedFunctions.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkBoxUnboxOfArgumentsOnInlinedFunctions.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val value: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/checkBoxingAfterAssertionOperator.kt b/compiler/testData/codegen/box/inlineClasses/checkBoxingAfterAssertionOperator.kt index a693d511275..a0dd4e81efc 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkBoxingAfterAssertionOperator.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkBoxingAfterAssertionOperator.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class WithPrimitive(val a: Int) fun takeWithPrimitive(a: WithPrimitive) {} diff --git a/compiler/testData/codegen/box/inlineClasses/checkBoxingForNonLocalAndLabeledReturns.kt b/compiler/testData/codegen/box/inlineClasses/checkBoxingForNonLocalAndLabeledReturns.kt index cf0c360d05f..e070320bcda 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkBoxingForNonLocalAndLabeledReturns.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkBoxingForNonLocalAndLabeledReturns.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class ULong(val l: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/checkBoxingFromReturnTypeForInlineClasses.kt b/compiler/testData/codegen/box/inlineClasses/checkBoxingFromReturnTypeForInlineClasses.kt index 03db83b5963..91ed3590a5b 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkBoxingFromReturnTypeForInlineClasses.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkBoxingFromReturnTypeForInlineClasses.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val a: Int) { fun member(): String = "" diff --git a/compiler/testData/codegen/box/inlineClasses/checkBoxingOnFunctionCalls.kt b/compiler/testData/codegen/box/inlineClasses/checkBoxingOnFunctionCalls.kt index d12a81c04ea..16f947ff65e 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkBoxingOnFunctionCalls.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkBoxingOnFunctionCalls.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class InlineNotNullPrimitive(val x: Int) inline class InlineNotNullReference(val y: String) diff --git a/compiler/testData/codegen/box/inlineClasses/checkBoxingOnLocalVariableAssignments.kt b/compiler/testData/codegen/box/inlineClasses/checkBoxingOnLocalVariableAssignments.kt index 2ba3cffbca5..2f7b6a58484 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkBoxingOnLocalVariableAssignments.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkBoxingOnLocalVariableAssignments.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class InlineNotNullPrimitive(val x: Int) inline class InlineNullablePrimitive(val x: Int?) diff --git a/compiler/testData/codegen/box/inlineClasses/checkCallingMembersInsideInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/checkCallingMembersInsideInlineClass.kt index a43e410a84d..804adc8ea96 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkCallingMembersInsideInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkCallingMembersInsideInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val x: Int) { fun empty() = "" diff --git a/compiler/testData/codegen/box/inlineClasses/checkCastToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/checkCastToInlineClass.kt index 4486f4be713..52425992af8 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkCastToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkCastToInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(val s: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/checkForInstanceOfInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/checkForInstanceOfInlineClass.kt index 5645961c4f3..eab47359aba 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkForInstanceOfInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkForInstanceOfInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(val u: Int) { override fun toString(): String { diff --git a/compiler/testData/codegen/box/inlineClasses/checkLambdaWithInlineClassesInFunctionalType.kt b/compiler/testData/codegen/box/inlineClasses/checkLambdaWithInlineClassesInFunctionalType.kt index f3ac5fe5834..aa3c2d2e1ad 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkLambdaWithInlineClassesInFunctionalType.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkLambdaWithInlineClassesInFunctionalType.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(val value: Int) inline class ULong(val value: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/checkUnboxingResultFromTypeVariable.kt b/compiler/testData/codegen/box/inlineClasses/checkUnboxingResultFromTypeVariable.kt index e93d2511ed4..53554e42d6b 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkUnboxingResultFromTypeVariable.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkUnboxingResultFromTypeVariable.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Result(val a: Any?) { fun typed(): T = a as T diff --git a/compiler/testData/codegen/box/inlineClasses/computablePropertyInsideInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/computablePropertyInsideInlineClass.kt index 04f3abdc2e2..5b121fec3ef 100644 --- a/compiler/testData/codegen/box/inlineClasses/computablePropertyInsideInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/computablePropertyInsideInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UIntArray(private val intArray: IntArray) { val size get() = intArray.size diff --git a/compiler/testData/codegen/box/inlineClasses/conformToComparableAndCallInterfaceMethod.kt b/compiler/testData/codegen/box/inlineClasses/conformToComparableAndCallInterfaceMethod.kt index 2cc35aee6b6..20c68440fe2 100644 --- a/compiler/testData/codegen/box/inlineClasses/conformToComparableAndCallInterfaceMethod.kt +++ b/compiler/testData/codegen/box/inlineClasses/conformToComparableAndCallInterfaceMethod.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val x: Int) : Comparable { override fun compareTo(other: Foo): Int { diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod.kt index a51731a8946..c1350b46f34 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Int) { fun test() = ok() diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod2.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod2.kt index be023a05a05..80e66d49441 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod2.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod2.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Long) { fun test() = ok() diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromCompanion.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromCompanion.kt index 2bfab54d4bd..933ee24696b 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromCompanion.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromCompanion.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Composed(val s: String) { private constructor(s1: String, s2: String) : this(s1 + s2) diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion.kt index 0299e73f51d..10ebcebc02c 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Int) { private fun ok() = "OK" diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion2.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion2.kt index 8b5b2fb293c..88a5c84c882 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion2.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion2.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Long) { private fun ok() = "OK" diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda.kt index 6d2e9d63e6c..6b3c55b7251 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Int) { fun test() = run { ok() } diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda2.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda2.kt index 98693652a42..83502984b50 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda2.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda2.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Long) { fun test() = run { ok() } diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateStaticInlineClassCompanionMethod.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateStaticInlineClassCompanionMethod.kt index 5d6093adccd..bfbe3334f9b 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateStaticInlineClassCompanionMethod.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateStaticInlineClassCompanionMethod.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/inlineLambdaInInlineClassFun.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/inlineLambdaInInlineClassFun.kt index 96862a55a29..ee48ba10154 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/inlineLambdaInInlineClassFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/inlineLambdaInInlineClassFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline fun runInline(fn: () -> String) = fn() diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt26858.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt26858.kt index bea975a4c32..9af786f282a 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt26858.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt26858.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Direction(private val direction: Int) { fun dx() = dx[direction] diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt30780.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt30780.kt index a20891e2560..5bff6a8fcf5 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt30780.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt30780.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Test(val x: Int) { private companion object { diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/lambdaInInlineClassFun.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/lambdaInInlineClassFun.kt index 73f45dce4c9..7f9f68de251 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/lambdaInInlineClassFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/lambdaInInlineClassFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Int) { fun test() = { "OK" }() diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionFun.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionFun.kt index 6281c83b450..259b032c86e 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Int) { fun test() = pf() diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionVal.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionVal.kt index c7706c9eb0d..ef803e57da9 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionVal.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Int) { fun test() = pv diff --git a/compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt b/compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt index d23d6e5ce72..fcbb14d9771 100644 --- a/compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt +++ b/compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Result(val a: Any?) { fun getOrThrow(): T = a as T diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultConstructorParameterValuesOfInlineClassType.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultConstructorParameterValuesOfInlineClassType.kt index 3d6fd483cad..20622f525a1 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultConstructorParameterValuesOfInlineClassType.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultConstructorParameterValuesOfInlineClassType.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val z: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultParameterValuesOfInlineClassType.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultParameterValuesOfInlineClassType.kt index 72811945845..5b682b2252a 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultParameterValuesOfInlineClassType.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultParameterValuesOfInlineClassType.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val z: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFun.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFun.kt index d4d2875cea2..dfe597c6c94 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val int: Int) inline class L(val long: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFunInInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFunInInlineClass.kt index b9e9f8923e9..3dc35d83506 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFunInInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFunInInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val int: Int) inline class L(val long: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassFun.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassFun.kt index a1667a6eb78..72a3ac73439 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val x: Int) { fun test(y: Int = 42) = x + y diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassPrimaryConstructor.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassPrimaryConstructor.kt index 0b072c427ec..10f7374e78e 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassPrimaryConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassPrimaryConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val x: Int = 1234) inline class L(val x: Long = 1234L) diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassSecondaryConstructor.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassSecondaryConstructor.kt index 8a50b11c7e2..17789ab1b6d 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassSecondaryConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassSecondaryConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val x: Int) { constructor(x: Long = 42L) : this(x.toInt()) diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt26554.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt26554.kt index f1a84f7a921..2d34e5668a6 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt26554.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt26554.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt27416.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt27416.kt index e22ab221707..63811ef403d 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt27416.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt27416.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val i: Int) { fun foo(s: String = "OK") = s diff --git a/compiler/testData/codegen/box/inlineClasses/defaultWithInlineClassArgument.kt b/compiler/testData/codegen/box/inlineClasses/defaultWithInlineClassArgument.kt index 8cfdc95d292..525a4e68e82 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultWithInlineClassArgument.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultWithInlineClassArgument.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // FILE: a.kt fun box() = A(0).f() diff --git a/compiler/testData/codegen/box/inlineClasses/elvisWithInlineClassAndNullConstant.kt b/compiler/testData/codegen/box/inlineClasses/elvisWithInlineClassAndNullConstant.kt index f55efec25e7..676a7f7042f 100644 --- a/compiler/testData/codegen/box/inlineClasses/elvisWithInlineClassAndNullConstant.kt +++ b/compiler/testData/codegen/box/inlineClasses/elvisWithInlineClassAndNullConstant.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(private val data: Int) { fun result(): String = if (data == 1) "OK" else "fail" diff --git a/compiler/testData/codegen/box/inlineClasses/emptyConstructorForInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/emptyConstructorForInlineClass.kt index eb97f310463..1907b764c34 100644 --- a/compiler/testData/codegen/box/inlineClasses/emptyConstructorForInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/emptyConstructorForInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val s: String) { fun asResult(): String = s diff --git a/compiler/testData/codegen/box/inlineClasses/equalityChecksMixedNullability.kt b/compiler/testData/codegen/box/inlineClasses/equalityChecksMixedNullability.kt index 1755a8cbfd6..a2acdf9dd14 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalityChecksMixedNullability.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalityChecksMixedNullability.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val a: String) diff --git a/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt index 0fd7b742a46..8ac937a7398 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/equalsCallsLeftArgument.kt b/compiler/testData/codegen/box/inlineClasses/equalsCallsLeftArgument.kt index 500b33f50b6..fdac846434f 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsCallsLeftArgument.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsCallsLeftArgument.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val x: String) diff --git a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNonNull.kt b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNonNull.kt index 8fcb315edb7..1f7ff01c87c 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNonNull.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNonNull.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val x: String = "") diff --git a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNullable.kt b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNullable.kt index 57344fe22aa..60f0ea4e27b 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNullable.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNullable.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val x: Any? = null) diff --git a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderPrimitive.kt b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderPrimitive.kt index aad11ef997f..745e3497825 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderPrimitive.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderPrimitive.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val x: Int = 0) diff --git a/compiler/testData/codegen/box/inlineClasses/equalsOperatorWithGenericCall.kt b/compiler/testData/codegen/box/inlineClasses/equalsOperatorWithGenericCall.kt index 82be79116e6..b096edde21a 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsOperatorWithGenericCall.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsOperatorWithGenericCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR inline class IcAny(val x: Any?) inline class IcInt(val x: Int) inline class IcLong(val x: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun.kt b/compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun.kt index a48a81de95d..8c4812c27b2 100644 --- a/compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR fun T.runExt(fn: T.() -> String) = fn() diff --git a/compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun2.kt b/compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun2.kt index f32f3a60574..3df5ff169c4 100644 --- a/compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun2.kt +++ b/compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun2.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR fun T.runExt(fn: T.() -> String) = fn() diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/anonymousObjectInFunctionWithMangledName.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/anonymousObjectInFunctionWithMangledName.kt index 7afd554abbf..d3cb8cad2ec 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/anonymousObjectInFunctionWithMangledName.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/anonymousObjectInFunctionWithMangledName.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/extensionFunctionsDoNotClash.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/extensionFunctionsDoNotClash.kt index 15a00e1c0c8..cfd8a7e729a 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/extensionFunctionsDoNotClash.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/extensionFunctionsDoNotClash.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Id(val id: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/functionsWithDifferentNullabilityDoNotClash.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/functionsWithDifferentNullabilityDoNotClash.kt index 19850625421..eb5bdcb5105 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/functionsWithDifferentNullabilityDoNotClash.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/functionsWithDifferentNullabilityDoNotClash.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Id(val id: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/genericFunctionsDoNotClash.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/genericFunctionsDoNotClash.kt index d558874b954..190152a9cdb 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/genericFunctionsDoNotClash.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/genericFunctionsDoNotClash.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S1(val s1: String) inline class S2(val s2: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/localClassInFunctionWithMangledName.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/localClassInFunctionWithMangledName.kt index 1688a12fe83..9241c2ea373 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/localClassInFunctionWithMangledName.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/localClassInFunctionWithMangledName.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsCanBeOverridden.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsCanBeOverridden.kt index c9e6879cfba..738300e8b5f 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsCanBeOverridden.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsCanBeOverridden.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Id(val id: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsDoNotClash.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsDoNotClash.kt index 32e09303b4b..500146b46a1 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsDoNotClash.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsDoNotClash.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Id(val id: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsPresentInStackTrace.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsPresentInStackTrace.kt index c0b3e2671a2..f96df4d29ca 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsPresentInStackTrace.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsPresentInStackTrace.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS, JS_IR // FULL_JDK // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mixedSignatureFunctionsDoNotClash.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mixedSignatureFunctionsDoNotClash.kt index 9361cc20733..efcdc4441e7 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mixedSignatureFunctionsDoNotClash.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mixedSignatureFunctionsDoNotClash.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Id(val id: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass.kt index a62dd59213d..ef11a37f115 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR abstract class GenericBase { abstract fun foo(x: T): T diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass2.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass2.kt index ecd79887a64..b4a96bc5bd4 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass2.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass2.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR abstract class GenericBase { abstract fun foo(x: T): T diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/propertySetterWithInlineClassTypeArgument.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/propertySetterWithInlineClassTypeArgument.kt index aa96df9ef1a..92fd9a9542f 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/propertySetterWithInlineClassTypeArgument.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/propertySetterWithInlineClassTypeArgument.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Str(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/genericInlineClassSynthMembers.kt b/compiler/testData/codegen/box/inlineClasses/genericInlineClassSynthMembers.kt index 7df5afa6cfd..ea723b84007 100644 --- a/compiler/testData/codegen/box/inlineClasses/genericInlineClassSynthMembers.kt +++ b/compiler/testData/codegen/box/inlineClasses/genericInlineClassSynthMembers.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS // MODULE: lib1 // FILE: lib1.kt diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile1.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile1.kt index 62154a85e65..02447a69190 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile1.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile1.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // FILE: 1.kt fun box(): String = X(Z("OK")).z.result diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile2.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile2.kt index 68592c68740..b57ec5a395b 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile2.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // FILE: 2.kt fun box(): String = X(Z("OK")).z.result diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorWithDefaultParameters.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorWithDefaultParameters.kt index 457939279f3..cb2496dbad0 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorWithDefaultParameters.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorWithDefaultParameters.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingSuperConstructorCall.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingSuperConstructorCall.kt index 5db22d2d634..3b50d927159 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingSuperConstructorCall.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingSuperConstructorCall.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingThisConstructorCall.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingThisConstructorCall.kt index 85183b39f03..12010ff4ba1 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingThisConstructorCall.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingThisConstructorCall.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/enumClassConstructor.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/enumClassConstructor.kt index 4ca6969d95e..498a7ef8e29 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/enumClassConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/enumClassConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/kt28855.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/kt28855.kt index 0d47be7e471..8594c3aec14 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/kt28855.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/kt28855.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/primaryConstructor.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/primaryConstructor.kt index 2ed14b1e4ee..880b1408082 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/primaryConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/primaryConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/privateConstructor.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/privateConstructor.kt index aa150daaa9c..c94047d5493 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/privateConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/privateConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/sealedClassConstructor.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/sealedClassConstructor.kt index 0a5157d19d7..bbe0e046b17 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/sealedClassConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/sealedClassConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/secondaryConstructor.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/secondaryConstructor.kt index 5b3ef0214f9..5fa46b3101e 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/secondaryConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/secondaryConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassAsLastExpressionInInLambda.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassAsLastExpressionInInLambda.kt index 9d4b82119ab..9486131d082 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassAsLastExpressionInInLambda.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassAsLastExpressionInInLambda.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Name(private val value: String) { fun asValue(): String = value diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassEqualityShouldUseTotalOrderForFloatingPointData.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassEqualityShouldUseTotalOrderForFloatingPointData.kt index dc0af993039..cbad8cf3a2f 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassEqualityShouldUseTotalOrderForFloatingPointData.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassEqualityShouldUseTotalOrderForFloatingPointData.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class InlineFloat(val data: Float) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassFunctionInvoke.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassFunctionInvoke.kt index d5f11226c9d..0d3135e3d23 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassFunctionInvoke.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassFunctionInvoke.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val int: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassPropertyReferenceGetAndSet.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassPropertyReferenceGetAndSet.kt index 4221ec058ed..e75ce35c2bc 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassPropertyReferenceGetAndSet.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassPropertyReferenceGetAndSet.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Foo(val z: String) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInInlineLambda.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInInlineLambda.kt index c765e5ecfff..f9977f9b9e9 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInInlineLambda.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInInlineLambda.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val int: Int) inline class L(val long: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInNonInlineLambda.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInNonInlineLambda.kt index a109189de44..b0731e2e5d4 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInNonInlineLambda.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInNonInlineLambda.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val int: Int) inline class L(val long: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassesAsInlineFunParameters.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassesAsInlineFunParameters.kt index fcf1a6b49af..cb7f85ebe79 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassesAsInlineFunParameters.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassesAsInlineFunParameters.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val int: Int) inline class L(val long: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassesCheckCast.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassesCheckCast.kt index 2ffac5925ac..768ca4ca0ee 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassesCheckCast.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassesCheckCast.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class AsAny(val x: Any?) inline class AsInt(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassesInInlineLambdaParameters.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassesInInlineLambdaParameters.kt index 3d824b3bfd7..b96e2b4b0cc 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassesInInlineLambdaParameters.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassesInInlineLambdaParameters.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Z(val int: Int) inline class L(val long: Long) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassesRefTypesInInlineLambdaParameters.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassesRefTypesInInlineLambdaParameters.kt index 7eb1d9b3e77..653d8589515 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassesRefTypesInInlineLambdaParameters.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassesRefTypesInInlineLambdaParameters.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Str(val string: String) inline class Obj(val obj: Any) diff --git a/compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun.kt b/compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun.kt index 142afdba517..d73665dc9c0 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline fun T.runInlineExt(fn: T.() -> String) = fn() diff --git a/compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun2.kt b/compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun2.kt index 4761b459423..c0490f4b077 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun2.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun2.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline fun T.runInlineExt(fn: T.() -> String) = fn() diff --git a/compiler/testData/codegen/box/inlineClasses/inlineFunctionInsideInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/inlineFunctionInsideInlineClass.kt index 2d8aa405fd3..4b4ea1c59df 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineFunctionInsideInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineFunctionInsideInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val x: Int) { inline fun inc(): Foo = Foo(x + 1) diff --git a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt index 8b0922ff1bd..a47830b0e5a 100644 --- a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt +++ b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val s: String) diff --git a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt index f25b5498fc0..ad7d1e89f8b 100644 --- a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt +++ b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR interface IFoo { fun foo(x: T): String diff --git a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt index dbc48ed4023..94ae6e684ea 100644 --- a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt +++ b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class A(val s: String) diff --git a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt index 306b40677a9..2903f7383d0 100644 --- a/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt +++ b/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR interface IBase { fun foo() = "BAD" diff --git a/compiler/testData/codegen/box/inlineClasses/iterateOverArrayOfInlineClassValues.kt b/compiler/testData/codegen/box/inlineClasses/iterateOverArrayOfInlineClassValues.kt index c2cd50f3afc..b997b8651e7 100644 --- a/compiler/testData/codegen/box/inlineClasses/iterateOverArrayOfInlineClassValues.kt +++ b/compiler/testData/codegen/box/inlineClasses/iterateOverArrayOfInlineClassValues.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Foo(val arg: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt b/compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt index 0dafda94852..2c1ea203a02 100644 --- a/compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt +++ b/compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/javaPrimitiveTypeIC.kt b/compiler/testData/codegen/box/inlineClasses/javaPrimitiveTypeIC.kt index bc6c0a4c28a..248e6b2de52 100644 --- a/compiler/testData/codegen/box/inlineClasses/javaPrimitiveTypeIC.kt +++ b/compiler/testData/codegen/box/inlineClasses/javaPrimitiveTypeIC.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/inlineClasses/jvmStaticVarInInlineClassCompanion.kt b/compiler/testData/codegen/box/inlineClasses/jvmStaticVarInInlineClassCompanion.kt index 3dbbbafb33f..07966551096 100644 --- a/compiler/testData/codegen/box/inlineClasses/jvmStaticVarInInlineClassCompanion.kt +++ b/compiler/testData/codegen/box/inlineClasses/jvmStaticVarInInlineClassCompanion.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/kt25246.kt b/compiler/testData/codegen/box/inlineClasses/kt25246.kt index bdb1fff32e7..147e08d1258 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt25246.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt25246.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Rgba(val value: Int) { inline val r: Int get() = (value shr 0) and 0xFF diff --git a/compiler/testData/codegen/box/inlineClasses/kt25771.kt b/compiler/testData/codegen/box/inlineClasses/kt25771.kt index 5adde5ff887..d0704e2478a 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt25771.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt25771.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Result(val value: Any?) { val isFailure: Boolean get() = value is Failure diff --git a/compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt b/compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt index 695ca1c71a8..87a92ace87c 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/kt27113.kt b/compiler/testData/codegen/box/inlineClasses/kt27113.kt index c474cb182b3..86b2c46b546 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt27113.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt27113.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS, JS_IR, NATIVE // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/kt28879.kt b/compiler/testData/codegen/box/inlineClasses/kt28879.kt index 8c1f780784f..92cc1da3b31 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt28879.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt28879.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_REFLECT // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/inlineClasses/kt33119.kt b/compiler/testData/codegen/box/inlineClasses/kt33119.kt index 0eff331a2f7..faf9609f0e5 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt33119.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt33119.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR inline class WrappingInt(val value: Int) { operator fun inc(): WrappingInt = plus(1) diff --git a/compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt b/compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt index 6347fe877c2..fd636563a6d 100644 --- a/compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt +++ b/compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class X(val s: String) fun foo(x: X, block: (X) -> String = { it.s }) = block(x) diff --git a/compiler/testData/codegen/box/inlineClasses/noAssertionsOnInlineClassBasedOnNullableType.kt b/compiler/testData/codegen/box/inlineClasses/noAssertionsOnInlineClassBasedOnNullableType.kt index fbf5fb3e5c3..f79cdd74141 100644 --- a/compiler/testData/codegen/box/inlineClasses/noAssertionsOnInlineClassBasedOnNullableType.kt +++ b/compiler/testData/codegen/box/inlineClasses/noAssertionsOnInlineClassBasedOnNullableType.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Result(val a: Any?) diff --git a/compiler/testData/codegen/box/inlineClasses/passInlineClassAsVararg.kt b/compiler/testData/codegen/box/inlineClasses/passInlineClassAsVararg.kt index b86882cb1d3..6b6520f44ea 100644 --- a/compiler/testData/codegen/box/inlineClasses/passInlineClassAsVararg.kt +++ b/compiler/testData/codegen/box/inlineClasses/passInlineClassAsVararg.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(val value: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt b/compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt index bf70d7be6a2..24bfd7dbd67 100644 --- a/compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt +++ b/compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(val value: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateTopLevelVarToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateTopLevelVarToInlineClass.kt index 92e365e7751..8e71f010747 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateTopLevelVarToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateTopLevelVarToInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR var setterInvoked = 0 var backing = 42 diff --git a/compiler/testData/codegen/box/inlineClasses/referToPropertyInCompanionObjectOfInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/referToPropertyInCompanionObjectOfInlineClass.kt index a1fa614cfba..030e02e2e42 100644 --- a/compiler/testData/codegen/box/inlineClasses/referToPropertyInCompanionObjectOfInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/referToPropertyInCompanionObjectOfInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val c: Char) { companion object { diff --git a/compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyInsideInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyInsideInlineClass.kt index 7a236bf714d..4d468101cab 100644 --- a/compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyInsideInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyInsideInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(val value: Int) { operator fun plus(other: UInt) = UInt(value + other.value) diff --git a/compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyOfInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyOfInlineClass.kt index 550e43d00b5..be73e994822 100644 --- a/compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyOfInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyOfInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(val value: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/resultInlining.kt b/compiler/testData/codegen/box/inlineClasses/resultInlining.kt index cfbeb4f5d1c..aeaf19a1b85 100644 --- a/compiler/testData/codegen/box/inlineClasses/resultInlining.kt +++ b/compiler/testData/codegen/box/inlineClasses/resultInlining.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/inlineClasses/resultRunCatchingOrElse.kt b/compiler/testData/codegen/box/inlineClasses/resultRunCatchingOrElse.kt index 3d2f9ab77c3..96b882ed7d9 100644 --- a/compiler/testData/codegen/box/inlineClasses/resultRunCatchingOrElse.kt +++ b/compiler/testData/codegen/box/inlineClasses/resultRunCatchingOrElse.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR inline class Result(val value: Any?) { fun exceptionOrNull(): Throwable? = when (value) { diff --git a/compiler/testData/codegen/box/inlineClasses/secondaryConstructorWithVararg.kt b/compiler/testData/codegen/box/inlineClasses/secondaryConstructorWithVararg.kt index e54b6e3097d..c063dbe68f2 100644 --- a/compiler/testData/codegen/box/inlineClasses/secondaryConstructorWithVararg.kt +++ b/compiler/testData/codegen/box/inlineClasses/secondaryConstructorWithVararg.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) { diff --git a/compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClass.kt index ccaac09a036..0ea5b0e9afc 100644 --- a/compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR @file:Suppress("SECONDARY_CONSTRUCTOR_WITH_BODY_INSIDE_INLINE_CLASS") diff --git a/compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClassWithPrimitiveCarrierType.kt b/compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClassWithPrimitiveCarrierType.kt index b90e10a7f76..d9d4d783f20 100644 --- a/compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClassWithPrimitiveCarrierType.kt +++ b/compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClassWithPrimitiveCarrierType.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR var global = "wrong" diff --git a/compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt b/compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt index e5cacccd11d..c46381bcf2f 100644 --- a/compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS, JS_IR, NATIVE, JVM // !LANGUAGE: +InlineClasses diff --git a/compiler/testData/codegen/box/inlineClasses/typeChecksForInlineClasses.kt b/compiler/testData/codegen/box/inlineClasses/typeChecksForInlineClasses.kt index 8f7f610a097..3eabb0d0d8a 100644 --- a/compiler/testData/codegen/box/inlineClasses/typeChecksForInlineClasses.kt +++ b/compiler/testData/codegen/box/inlineClasses/typeChecksForInlineClasses.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class AsAny(val a: Any?) { fun myEq(other: Any?): Boolean { diff --git a/compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt b/compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt index 0d3ae7f1acd..6aad0a492d2 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR class BoxT(val boxed: T) class BoxAny(val boxed: Any?) diff --git a/compiler/testData/codegen/box/inlineClasses/unboxReceiverOnCallingMethodFromInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/unboxReceiverOnCallingMethodFromInlineClass.kt index 6a837a516e6..afc86bc516c 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxReceiverOnCallingMethodFromInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxReceiverOnCallingMethodFromInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val s: Any) { fun isString(): Boolean = s is String diff --git a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt index d0c770361ce..009c34768bc 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt b/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt index 77d6893f27f..c4804187c7e 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/useInlineClassesInsideElvisOperator.kt b/compiler/testData/codegen/box/inlineClasses/useInlineClassesInsideElvisOperator.kt index dbef972503c..5dab07739c3 100644 --- a/compiler/testData/codegen/box/inlineClasses/useInlineClassesInsideElvisOperator.kt +++ b/compiler/testData/codegen/box/inlineClasses/useInlineClassesInsideElvisOperator.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(private val u: Int) { fun asResult() = u diff --git a/compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt index d2ab5e88f7b..07902a77ebf 100644 --- a/compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Foo(val a: String) { fun test(): String { diff --git a/compiler/testData/codegen/box/inlineClasses/useOfInlineClassWithGenericMethodFromJava.kt b/compiler/testData/codegen/box/inlineClasses/useOfInlineClassWithGenericMethodFromJava.kt index 9f854cff00d..6779b3fab34 100644 --- a/compiler/testData/codegen/box/inlineClasses/useOfInlineClassWithGenericMethodFromJava.kt +++ b/compiler/testData/codegen/box/inlineClasses/useOfInlineClassWithGenericMethodFromJava.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // FILE: a.kt diff --git a/compiler/testData/codegen/box/inlineClasses/useThisInsideInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/useThisInsideInlineClass.kt index 627e8dfeb36..e6f3992e850 100644 --- a/compiler/testData/codegen/box/inlineClasses/useThisInsideInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/useThisInsideInlineClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class UInt(val a: Int) { fun test() { diff --git a/compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterModifiers.kt b/compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterModifiers.kt index 19f6b3c66f7..1759e684870 100644 --- a/compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterModifiers.kt +++ b/compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterModifiers.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/inlineClassMethodParameterNames.kt b/compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterNames.kt index 6310b7f431a..92a2fd71951 100644 --- a/compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterNames.kt +++ b/compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterNames.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // SKIP_JDK6 // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/emptyDownto.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/emptyDownto.kt index 95d6a6ed616..42bc3fd915e 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/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/unsigned/expression/emptyRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/emptyRange.kt index 18505010ba0..6add0ae2d34 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/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/unsigned/expression/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyBackSequence.kt index 3ff7980fb00..19503035d32 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/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/unsigned/expression/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyRange.kt index e9a2a880269..6b1ac78fe26 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/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/unsigned/kt35004.kt b/compiler/testData/codegen/box/ranges/unsigned/kt35004.kt index b25193a7db0..d8e6459244d 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/kt35004.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/kt35004.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/emptyDownto.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/emptyDownto.kt index ab66cffdcbe..fb3296321fd 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/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/unsigned/literal/emptyRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/emptyRange.kt index 5758e821977..7ca5e45f608 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/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/unsigned/literal/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyBackSequence.kt index 4df43bad54a..9a691e754ee 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/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/unsigned/literal/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyRange.kt index 0ea6911ef69..d5ad10d0763 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/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/reflection/typeOf/noReflect/inlineClasses.kt b/compiler/testData/codegen/box/reflection/typeOf/noReflect/inlineClasses.kt index 37aabf5ddfc..f2496cf375c 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/noReflect/inlineClasses.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/noReflect/inlineClasses.kt @@ -1,5 +1,4 @@ // !USE_EXPERIMENTAL: kotlin.ExperimentalStdlibApi -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt b/compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt index 8483a6fd03e..36087f15617 100644 --- a/compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt +++ b/compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_FIR: JVM_IR + // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt b/compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt index 93b2694d624..6fd8b5d507d 100644 --- a/compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt +++ b/compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt b/compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt index cc7e810b4b0..497194cccfa 100644 --- a/compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt +++ b/compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt index f8adc390680..3dbe24e4a7c 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt index 93c3f067ba8..570de60bc4c 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt index 803e6938b9c..c9436d97084 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt index 6f2b86e8570..de80a1a7b62 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt index 9427661eeee..7084236e6bb 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt @@ -1,6 +1,5 @@ // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME -// IGNORE_BACKEND_FIR: JVM_IR fun takeUByte(u: UByte) = u.toByte() fun takeUShort(u: UShort) = u.toShort() diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt index 4e32d9f0bbe..69204a99b26 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_REFLECT diff --git a/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt b/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt index 68bf3cb2777..a400de3e431 100644 --- a/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt +++ b/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JS diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/experimentalUnsignedLiterals.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/experimentalUnsignedLiterals.fir.kt index 58c62035861..09fa35896b8 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/experimentalUnsignedLiterals.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/experimentalUnsignedLiterals.fir.kt @@ -10,7 +10,7 @@ fun test() { 0xbbU ) - takeAll( + takeAll( 1u, 2u, 3u, diff --git a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions_test.fir.txt b/compiler/testData/ir/irText/expressions/signedToUnsignedConversions_test.fir.txt index c53906096fa..77ddad8a99d 100644 --- a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions_test.fir.txt +++ b/compiler/testData/ir/irText/expressions/signedToUnsignedConversions_test.fir.txt @@ -57,14 +57,14 @@ FILE fqName: fileName:/signedToUnsignedConversions_test.kt PROPERTY name:UINT_CONST visibility:public modality:FINAL [const,val] annotations: ImplicitIntegerCoercion - FIELD PROPERTY_BACKING_FIELD name:UINT_CONST type:kotlin.Long visibility:private [final,static] + FIELD PROPERTY_BACKING_FIELD name:UINT_CONST type:kotlin.UInt visibility:private [final,static] EXPRESSION_BODY - CONST Long type=kotlin.Long value=42 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Long + CONST Int type=kotlin.UInt value=42 + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.UInt correspondingProperty: PROPERTY name:UINT_CONST visibility:public modality:FINAL [const,val] BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Long declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:UINT_CONST type:kotlin.Long visibility:private [final,static]' type=kotlin.Long origin=null + RETURN type=kotlin.Nothing from='public final fun (): kotlin.UInt declared in ' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:UINT_CONST type:kotlin.UInt visibility:private [final,static]' type=kotlin.UInt origin=null FUN name:takeUByte visibility:public modality:FINAL <> (u:kotlin.UByte) returnType:kotlin.Unit VALUE_PARAMETER name:u index:0 type:kotlin.UByte BLOCK_BODY @@ -100,4 +100,4 @@ FILE fqName: fileName:/signedToUnsignedConversions_test.kt ERROR_CALL 'Unresolved reference: #' type=IrErrorType CALL 'public final fun (): kotlin.Int declared in ' type=kotlin.Int origin=GET_PROPERTY CALL 'public final fun (): kotlin.Int declared in ' type=kotlin.Int origin=GET_PROPERTY - CONST Long type=kotlin.Long value=42 + CONST Int type=kotlin.UInt value=42 diff --git a/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.fir.txt b/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.fir.txt deleted file mode 100644 index c853a2802fb..00000000000 --- a/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.fir.txt +++ /dev/null @@ -1,95 +0,0 @@ -FILE fqName: fileName:/unsignedIntegerLiterals.kt - PROPERTY name:testSimpleUIntLiteral visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testSimpleUIntLiteral type:kotlin.Long visibility:private [final,static] - EXPRESSION_BODY - CONST Long type=kotlin.Long value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Long - correspondingProperty: PROPERTY name:testSimpleUIntLiteral visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Long declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testSimpleUIntLiteral type:kotlin.Long visibility:private [final,static]' type=kotlin.Long origin=null - PROPERTY name:testSimpleUIntLiteralWithOverflow visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testSimpleUIntLiteralWithOverflow type:kotlin.Long visibility:private [final,static] - EXPRESSION_BODY - CONST Long type=kotlin.Long value=4294967295 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Long - correspondingProperty: PROPERTY name:testSimpleUIntLiteralWithOverflow visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Long declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testSimpleUIntLiteralWithOverflow type:kotlin.Long visibility:private [final,static]' type=kotlin.Long origin=null - PROPERTY name:testUByteWithExpectedType visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testUByteWithExpectedType type:kotlin.UByte visibility:private [final,static] - EXPRESSION_BODY - CONST Long type=kotlin.Long value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.UByte - correspondingProperty: PROPERTY name:testUByteWithExpectedType visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.UByte declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testUByteWithExpectedType type:kotlin.UByte visibility:private [final,static]' type=kotlin.UByte origin=null - PROPERTY name:testUShortWithExpectedType visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testUShortWithExpectedType type:kotlin.UShort visibility:private [final,static] - EXPRESSION_BODY - CONST Long type=kotlin.Long value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.UShort - correspondingProperty: PROPERTY name:testUShortWithExpectedType visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.UShort declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testUShortWithExpectedType type:kotlin.UShort visibility:private [final,static]' type=kotlin.UShort origin=null - PROPERTY name:testUIntWithExpectedType visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testUIntWithExpectedType type:kotlin.UInt visibility:private [final,static] - EXPRESSION_BODY - CONST Long type=kotlin.Long value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.UInt - correspondingProperty: PROPERTY name:testUIntWithExpectedType visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.UInt declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testUIntWithExpectedType type:kotlin.UInt visibility:private [final,static]' type=kotlin.UInt origin=null - PROPERTY name:testULongWithExpectedType visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testULongWithExpectedType type:kotlin.ULong visibility:private [final,static] - EXPRESSION_BODY - CONST Long type=kotlin.Long value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.ULong - correspondingProperty: PROPERTY name:testULongWithExpectedType visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.ULong declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testULongWithExpectedType type:kotlin.ULong visibility:private [final,static]' type=kotlin.ULong origin=null - PROPERTY name:testToUByte visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testToUByte type:kotlin.UByte visibility:private [final,static] - EXPRESSION_BODY - CALL 'public final fun toUByte (): kotlin.UByte [inline] declared in kotlin' type=kotlin.UByte origin=null - $receiver: CONST Int type=kotlin.Int value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.UByte - correspondingProperty: PROPERTY name:testToUByte visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.UByte declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testToUByte type:kotlin.UByte visibility:private [final,static]' type=kotlin.UByte origin=null - PROPERTY name:testToUShort visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testToUShort type:kotlin.UShort visibility:private [final,static] - EXPRESSION_BODY - CALL 'public final fun toUShort (): kotlin.UShort [inline] declared in kotlin' type=kotlin.UShort origin=null - $receiver: CONST Int type=kotlin.Int value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.UShort - correspondingProperty: PROPERTY name:testToUShort visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.UShort declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testToUShort type:kotlin.UShort visibility:private [final,static]' type=kotlin.UShort origin=null - PROPERTY name:testToUInt visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testToUInt type:kotlin.UInt visibility:private [final,static] - EXPRESSION_BODY - CALL 'public final fun toUInt (): kotlin.UInt [inline] declared in kotlin' type=kotlin.UInt origin=null - $receiver: CONST Int type=kotlin.Int value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.UInt - correspondingProperty: PROPERTY name:testToUInt visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.UInt declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testToUInt type:kotlin.UInt visibility:private [final,static]' type=kotlin.UInt origin=null - PROPERTY name:testToULong visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:testToULong type:kotlin.ULong visibility:private [final,static] - EXPRESSION_BODY - CALL 'public final fun toULong (): kotlin.ULong [inline] declared in kotlin' type=kotlin.ULong origin=null - $receiver: CONST Int type=kotlin.Int value=1 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.ULong - correspondingProperty: PROPERTY name:testToULong visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.ULong declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testToULong type:kotlin.ULong visibility:private [final,static]' type=kotlin.ULong origin=null diff --git a/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.kt b/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.kt index eb3eb382aec..d4d09302f1d 100644 --- a/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.kt +++ b/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.kt @@ -1,3 +1,4 @@ +// FIR_IDENTICAL // WITH_RUNTIME val testSimpleUIntLiteral = 1u