diff --git a/compiler/testData/codegen/box/annotations/genericAnnotations.kt b/compiler/testData/codegen/box/annotations/genericAnnotations.kt index e82c4606c47..a15ce319a16 100644 --- a/compiler/testData/codegen/box/annotations/genericAnnotations.kt +++ b/compiler/testData/codegen/box/annotations/genericAnnotations.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR -// See KT-46967 +// FIR status: generic annotation aren't supported in FIR inference yet; see also KT-46967 // MODULE: lib // FILE: l1.kt package ann diff --git a/compiler/testData/codegen/box/annotations/instances/multimoduleInlining.kt b/compiler/testData/codegen/box/annotations/instances/multimoduleInlining.kt index d7cbd9d7e37..cf891cd6ee0 100644 --- a/compiler/testData/codegen/box/annotations/instances/multimoduleInlining.kt +++ b/compiler/testData/codegen/box/annotations/instances/multimoduleInlining.kt @@ -2,6 +2,7 @@ // is seen as coming from the same module. // See IrSourceCompilerForInline.kt:isCallInsideSameModuleAsCallee. // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: assertion failed: assert(one.javaClass.getEnclosingClass().getName() == "test.C") // TARGET_BACKEND: JVM_IR // IGNORE_DEXING // WITH_STDLIB diff --git a/compiler/testData/codegen/box/annotations/instances/multiplatformInstantiation.kt b/compiler/testData/codegen/box/annotations/instances/multiplatformInstantiation.kt index 79252536357..e22d6b537a2 100644 --- a/compiler/testData/codegen/box/annotations/instances/multiplatformInstantiation.kt +++ b/compiler/testData/codegen/box/annotations/instances/multiplatformInstantiation.kt @@ -1,5 +1,5 @@ -// Multi-platform not supported with FIR yet. // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // IGNORE_BACKEND: JVM // IGNORE_BACKEND: WASM diff --git a/compiler/testData/codegen/box/annotations/singleAssignmentToVarargInAnnotation.kt b/compiler/testData/codegen/box/annotations/singleAssignmentToVarargInAnnotation.kt index d0f0dacc42b..fd258a6604a 100644 --- a/compiler/testData/codegen/box/annotations/singleAssignmentToVarargInAnnotation.kt +++ b/compiler/testData/codegen/box/annotations/singleAssignmentToVarargInAnnotation.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature // !LANGUAGE: -ProhibitAssigningSingleElementsToVarargsInNamedForm // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/argumentOrder/kt17691.kt b/compiler/testData/codegen/box/argumentOrder/kt17691.kt index 400d74c9fa9..8a8bbedf0ff 100644 --- a/compiler/testData/codegen/box/argumentOrder/kt17691.kt +++ b/compiler/testData/codegen/box/argumentOrder/kt17691.kt @@ -1,4 +1,5 @@ // !LANGUAGE: -UseCorrectExecutionOrderForVarargArguments +// FIR status: don't support legacy feature // WITH_STDLIB // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/binaryOp/boxingOfLiteralReceiverWithIntegerValueType.kt b/compiler/testData/codegen/box/binaryOp/boxingOfLiteralReceiverWithIntegerValueType.kt index 14f19002876..0c47cb8ba55 100644 --- a/compiler/testData/codegen/box/binaryOp/boxingOfLiteralReceiverWithIntegerValueType.kt +++ b/compiler/testData/codegen/box/binaryOp/boxingOfLiteralReceiverWithIntegerValueType.kt @@ -1,6 +1,7 @@ // !LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature // WITH_STDLIB // This test exists only to check that we don't accidentally break the buggy behavior of the old JVM backend in JVM IR (KT-42321). // Feel free to remove it as soon as there's no language version where such code is allowed (KT-38895). diff --git a/compiler/testData/codegen/box/binaryOp/call.kt b/compiler/testData/codegen/box/binaryOp/call.kt index 26550e06d4a..3bc4711cbf1 100644 --- a/compiler/testData/codegen/box/binaryOp/call.kt +++ b/compiler/testData/codegen/box/binaryOp/call.kt @@ -1,6 +1,6 @@ // LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 fun box(): String { val a1: Byte = 1.plus(1) diff --git a/compiler/testData/codegen/box/binaryOp/callNullable.kt b/compiler/testData/codegen/box/binaryOp/callNullable.kt index 7990951a557..c36e2294429 100644 --- a/compiler/testData/codegen/box/binaryOp/callNullable.kt +++ b/compiler/testData/codegen/box/binaryOp/callNullable.kt @@ -1,6 +1,6 @@ // LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 fun box(): String { val a1: Byte? = 1.plus(1) diff --git a/compiler/testData/codegen/box/binaryOp/intrinsic.kt b/compiler/testData/codegen/box/binaryOp/intrinsic.kt index 1ff278186a4..388619947c5 100644 --- a/compiler/testData/codegen/box/binaryOp/intrinsic.kt +++ b/compiler/testData/codegen/box/binaryOp/intrinsic.kt @@ -1,6 +1,6 @@ // LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 fun box(): String { val a1: Byte = 1 + 1 diff --git a/compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt b/compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt index 5ca8c00d13c..f7d424560f6 100644 --- a/compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt +++ b/compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt @@ -1,6 +1,6 @@ // LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 fun box(): String { val a1: Byte? = 1 + 1 diff --git a/compiler/testData/codegen/box/binaryOp/overflowLong.kt b/compiler/testData/codegen/box/binaryOp/overflowLong.kt index e5e45f64999..dc8dd422a9b 100644 --- a/compiler/testData/codegen/box/binaryOp/overflowLong.kt +++ b/compiler/testData/codegen/box/binaryOp/overflowLong.kt @@ -1,6 +1,6 @@ // LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 fun box(): String { val a: Long = 2147483647 + 1 diff --git a/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt b/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt index 2e68a47583f..b37fe4824f6 100644 --- a/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt +++ b/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt @@ -1,5 +1,6 @@ // !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature interface A { fun foo(): Any diff --git a/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt b/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt index 501676d4719..4ec90712206 100644 --- a/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt +++ b/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt @@ -1,5 +1,6 @@ // !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature // FILE: 1.kt class Test: Impl(), CProvider diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedArrayOf.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedArrayOf.kt index af96fb000db..eb60482e863 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedArrayOf.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedArrayOf.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: V // java.lang.UnsupportedOperationException: This function has a reified type parameter and thus can only be inlined at compilation time, // not called directly. // at kotlin.jvm.internal.Intrinsics.throwUndefinedForReified(Intrinsics.java:207) diff --git a/compiler/testData/codegen/box/callableReference/function/dispatchReceiverType.kt b/compiler/testData/codegen/box/callableReference/function/dispatchReceiverType.kt index 7c0d9007191..49fb2ba690d 100644 --- a/compiler/testData/codegen/box/callableReference/function/dispatchReceiverType.kt +++ b/compiler/testData/codegen/box/callableReference/function/dispatchReceiverType.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: IAE: tried to access class test.PX from class BoxKt$box$2 // MODULE: lib // FILE: X.java package test; diff --git a/compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt b/compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt index bf359a8eaa6..7938c3191f0 100644 --- a/compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt +++ b/compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt @@ -4,6 +4,7 @@ // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM fun test(t: T) = t as (T & Any) diff --git a/compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt b/compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt index 07f1dc71989..9d8b7407c58 100644 --- a/compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt +++ b/compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED, probably provoked by override mapping error // TARGET_BACKEND: JVM // FILE: J.java diff --git a/compiler/testData/codegen/box/collections/irrelevantImplCharSequenceKotlin.kt b/compiler/testData/codegen/box/collections/irrelevantImplCharSequenceKotlin.kt index 4f094e08889..542e29b53d6 100644 --- a/compiler/testData/codegen/box/collections/irrelevantImplCharSequenceKotlin.kt +++ b/compiler/testData/codegen/box/collections/irrelevantImplCharSequenceKotlin.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED, probably provoked by override mapping error // TARGET_BACKEND: JVM // FILE: J.java diff --git a/compiler/testData/codegen/box/collections/irrelevantImplMutableList.kt b/compiler/testData/codegen/box/collections/irrelevantImplMutableList.kt index a4230ef2902..1e47ee2df91 100644 --- a/compiler/testData/codegen/box/collections/irrelevantImplMutableList.kt +++ b/compiler/testData/codegen/box/collections/irrelevantImplMutableList.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED, probably provoked by override mapping error // TARGET_BACKEND: JVM // FILE: J.java diff --git a/compiler/testData/codegen/box/collections/irrelevantImplMutableListKotlin.kt b/compiler/testData/codegen/box/collections/irrelevantImplMutableListKotlin.kt index f3f89141a1e..0afe5aef9a8 100644 --- a/compiler/testData/codegen/box/collections/irrelevantImplMutableListKotlin.kt +++ b/compiler/testData/codegen/box/collections/irrelevantImplMutableListKotlin.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED, probably provoked by override mapping error // TARGET_BACKEND: JVM // WITH_STDLIB diff --git a/compiler/testData/codegen/box/collections/irrelevantImplMutableListSubstitution.kt b/compiler/testData/codegen/box/collections/irrelevantImplMutableListSubstitution.kt index 0f94791f34d..aad68bfadcd 100644 --- a/compiler/testData/codegen/box/collections/irrelevantImplMutableListSubstitution.kt +++ b/compiler/testData/codegen/box/collections/irrelevantImplMutableListSubstitution.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED, probably provoked by override mapping error // TARGET_BACKEND: JVM // FILE: J.java diff --git a/compiler/testData/codegen/box/collections/kt48945.kt b/compiler/testData/codegen/box/collections/kt48945.kt index 0a2f7ed648b..6c260e06c7a 100644 --- a/compiler/testData/codegen/box/collections/kt48945.kt +++ b/compiler/testData/codegen/box/collections/kt48945.kt @@ -1,6 +1,7 @@ // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: in progress (M.G.) // IGNORE_BACKEND: ANDROID // ^ NSME: java.util.AbstractMap.remove // FULL_JDK diff --git a/compiler/testData/codegen/box/collections/kt48945a.kt b/compiler/testData/codegen/box/collections/kt48945a.kt index 4e4f58b32cb..d3b33a602bd 100644 --- a/compiler/testData/codegen/box/collections/kt48945a.kt +++ b/compiler/testData/codegen/box/collections/kt48945a.kt @@ -1,6 +1,7 @@ // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: in progress (M.G.) // IGNORE_BACKEND: ANDROID // ^ NSME: java.util.AbstractMap.remove // FULL_JDK diff --git a/compiler/testData/codegen/box/collections/kt48945b.kt b/compiler/testData/codegen/box/collections/kt48945b.kt index f0d9222f375..4233d6d14a9 100644 --- a/compiler/testData/codegen/box/collections/kt48945b.kt +++ b/compiler/testData/codegen/box/collections/kt48945b.kt @@ -1,6 +1,7 @@ // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: in progress (M.G.) // IGNORE_BACKEND: ANDROID // ^ NSME: java.util.AbstractMap.remove // FULL_JDK diff --git a/compiler/testData/codegen/box/collections/kt48945c.kt b/compiler/testData/codegen/box/collections/kt48945c.kt index 09ea4d384a1..48f45f485db 100644 --- a/compiler/testData/codegen/box/collections/kt48945c.kt +++ b/compiler/testData/codegen/box/collections/kt48945c.kt @@ -1,6 +1,7 @@ // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: in progress (M.G.) // IGNORE_BACKEND: ANDROID // ^ NSME: java.util.AbstractMap.remove // FULL_JDK diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationOnTypeUseInTypeAlias.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationOnTypeUseInTypeAlias.kt index ab1c731623c..06b146ad92d 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationOnTypeUseInTypeAlias.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationOnTypeUseInTypeAlias.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: List is empty for val argumentType = mycType.arguments.single().type!! // TARGET_BACKEND: JVM // WITH_REFLECT // MODULE: lib diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/clashingFakeOverrideSignatures.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/clashingFakeOverrideSignatures.kt index d2c843590e7..226d85b66a8 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/clashingFakeOverrideSignatures.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/clashingFakeOverrideSignatures.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR -// ^ TODO decide if we want to fix KT-42020 for FIR as well +// FIR status: Validation failed. TODO decide if we want to fix KT-42020 for FIR as well // MODULE: lib // FILE: a.kt package a diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/copySamOnInline.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/copySamOnInline.kt index 20b52506eda..fba4f04cdca 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/copySamOnInline.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/copySamOnInline.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: class should be regenerated, but test.AKt$sam$i$java_util_concurrent_Callable$0 // FULL_JDK // WITH_STDLIB diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/copySamOnInline2.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/copySamOnInline2.kt index 06b19f700ab..1ccde462ea2 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/copySamOnInline2.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/copySamOnInline2.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: class should be regenerated, but test.AKt$sam$i$java_util_concurrent_Callable$0 // FULL_JDK // WITH_STDLIB diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration.kt index c792b0c31b8..d8bd07e0cb2 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: fail 1 : class test.AKt$test$1$1 == class test.AKt$test$1$1 // TARGET_BACKEND: JVM // WITH_STDLIB diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt index 42c2c35939f..71bcc454961 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: fail 1 : class test.AKt$test$1$1 == class test.AKt$test$1$1 // TARGET_BACKEND: JVM // WITH_STDLIB diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simple.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simple.kt index bcf8fede072..c3d244d02d1 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simple.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simple.kt @@ -1,5 +1,6 @@ // !JVM_DEFAULT_MODE: all-compatibility // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: FailK // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt index 18a83d69d68..e097efaf086 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt @@ -1,5 +1,6 @@ // !JVM_DEFAULT_MODE: all-compatibility // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: failK // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/likeMemberClash.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/likeMemberClash.kt index f588ba0652d..564806d9991 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/likeMemberClash.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/likeMemberClash.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: fail // FULL_JDK // MODULE: lib // !JVM_DEFAULT_MODE: disable diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/likeSpecialization.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/likeSpecialization.kt index 234d7a234d8..d1efef4ab84 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/likeSpecialization.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/likeSpecialization.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: AbstractMethodError: UnspecializedFromDerived.test(Ljava/lang/Object;)Ljava/lang/Object; // WITH_STDLIB // JVM_TARGET: 1.8 // MODULE: lib diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newAndOldSchemes.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newAndOldSchemes.kt index 95dbddab51b..fe804657387 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newAndOldSchemes.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newAndOldSchemes.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: AbstractMethodError: Method Foo.call()Ljava/util/List; is abstract // FULL_JDK // WITH_STDLIB diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newAndOldSchemes3.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newAndOldSchemes3.kt index a24dfbe03fd..a39a1588dc8 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newAndOldSchemes3.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newAndOldSchemes3.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: AbstractMethodError: Foo.call()Ljava/util/List; // FULL_JDK // WITH_STDLIB diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newSchemeWithJvmDefault.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newSchemeWithJvmDefault.kt index 9435ffe0309..d8e9418bda3 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newSchemeWithJvmDefault.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop/newSchemeWithJvmDefault.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: AbstractMethodError: KInterface.superCall()Ljava/util/List; // FULL_JDK // WITH_STDLIB // JVM_TARGET: 1.8 diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmStaticInObjectPropertyReference.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmStaticInObjectPropertyReference.kt index ffde11d22a6..115cd98d95c 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmStaticInObjectPropertyReference.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmStaticInObjectPropertyReference.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: BKt$box$get$1 cannot be cast to kotlin.reflect.KMutableProperty0 // WITH_STDLIB // MODULE: lib // FILE: A.kt diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/optionalAnnotation.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/optionalAnnotation.kt index 807eb2a238b..1205525f08f 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/optionalAnnotation.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/optionalAnnotation.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // !LANGUAGE: +MultiPlatformProjects // !OPT_IN: kotlin.ExperimentalMultiplatform // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt b/compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt index 0fe56b33910..97cfd2230fd 100644 --- a/compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt +++ b/compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt @@ -3,6 +3,7 @@ // IGNORE_BACKEND: JS, JS_IR, NATIVE // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: value: 0 should have type Long // WITH_STDLIB // FILE: J.java diff --git a/compiler/testData/codegen/box/coroutines/debug/debuggerMetadata.kt b/compiler/testData/codegen/box/coroutines/debug/debuggerMetadata.kt index 8ba181c9b0b..a2087ffcb4d 100644 --- a/compiler/testData/codegen/box/coroutines/debug/debuggerMetadata.kt +++ b/compiler/testData/codegen/box/coroutines/debug/debuggerMetadata.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: some error in resolve (FirErrorNamedReferenceImpl in FIR) // TARGET_BACKEND: JVM // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt index a1b53bcfa62..81ff20a3dd2 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +MultiPlatformProjects // WITH_STDLIB // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) import kotlin.coroutines.* diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionAsSupertypeIsCheckWithArity.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionAsSupertypeIsCheckWithArity.kt index 26496916827..73405bb40bd 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionAsSupertypeIsCheckWithArity.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionAsSupertypeIsCheckWithArity.kt @@ -1,6 +1,7 @@ // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JS, JVM, JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM // !LANGUAGE: +SuspendFunctionAsSupertype import kotlin.coroutines.* diff --git a/compiler/testData/codegen/box/coroutines/kt21080.kt b/compiler/testData/codegen/box/coroutines/kt21080.kt index 26da3e14b3e..c1a2f771c0d 100644 --- a/compiler/testData/codegen/box/coroutines/kt21080.kt +++ b/compiler/testData/codegen/box/coroutines/kt21080.kt @@ -2,6 +2,7 @@ // WITH_COROUTINES // IGNORE_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: VARIABLE_EXPECTED at b?.a += ... Not sure FIR supports this (contact Dmitry Novozhilov) import kotlin.coroutines.* import helpers.* diff --git a/compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt b/compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt index 631f8987bf9..b113d84938c 100644 --- a/compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt +++ b/compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM // IGNORE_BACKEND: JVM_IR, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: JVM, JS, NATIVE diff --git a/compiler/testData/codegen/box/coroutines/suspendCovariantJavaOverrides.kt b/compiler/testData/codegen/box/coroutines/suspendCovariantJavaOverrides.kt index bef6bbce2fc..6de554373c0 100644 --- a/compiler/testData/codegen/box/coroutines/suspendCovariantJavaOverrides.kt +++ b/compiler/testData/codegen/box/coroutines/suspendCovariantJavaOverrides.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: wrong ABSTRACT_SUPER_CALL // TARGET_BACKEND: JVM // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt index f76a1825814..9751a96cb7f 100644 --- a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt +++ b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: questionable bytecode listing difference (open/final methods in final class) // WITH_STDLIB // WITH_COROUTINES // CHECK_BYTECODE_LISTING diff --git a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt index 9dd03ea9ba6..66c23cac9eb 100644 --- a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt +++ b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: questionable bytecode listing difference (open/final methods in final class) // WITH_STDLIB // WITH_COROUTINES // CHECK_BYTECODE_LISTING diff --git a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override5.kt b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override5.kt index 41bb3ae442e..bd7f2e67b03 100644 --- a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override5.kt +++ b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override5.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: questionable bytecode listing difference (open/final methods in final class) // TARGET_BACKEND: JVM // FULL_JDK // WITH_STDLIB diff --git a/compiler/testData/codegen/box/defaultArguments/convention/incWithDefaultInGetter.kt b/compiler/testData/codegen/box/defaultArguments/convention/incWithDefaultInGetter.kt index 5ca3dd00ec1..56e166cd5e2 100644 --- a/compiler/testData/codegen/box/defaultArguments/convention/incWithDefaultInGetter.kt +++ b/compiler/testData/codegen/box/defaultArguments/convention/incWithDefaultInGetter.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature (prefix increment calls getter twice). fail 2: anone1 var inc: String = "" class X { diff --git a/compiler/testData/codegen/box/defaultArguments/convention/kt16520_old.kt b/compiler/testData/codegen/box/defaultArguments/convention/kt16520_old.kt index 484e10ca902..8a9e1e1d33a 100644 --- a/compiler/testData/codegen/box/defaultArguments/convention/kt16520_old.kt +++ b/compiler/testData/codegen/box/defaultArguments/convention/kt16520_old.kt @@ -1,6 +1,7 @@ // !LANGUAGE: -ProperArrayConventionSetterWithDefaultCalls // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature // TARGET_BACKEND: JVM var result = "fail" diff --git a/compiler/testData/codegen/box/defaultArguments/kt36853_fibonacci.kt b/compiler/testData/codegen/box/defaultArguments/kt36853_fibonacci.kt index f548ae7d364..1427b133266 100644 --- a/compiler/testData/codegen/box/defaultArguments/kt36853_fibonacci.kt +++ b/compiler/testData/codegen/box/defaultArguments/kt36853_fibonacci.kt @@ -1,6 +1,7 @@ // WITH_STDLIB // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: // java.lang.StackOverflowError // at Nat$Companion$invoke$1.next(kt36853_fibonacci.kt:40) ... diff --git a/compiler/testData/codegen/box/defaultArguments/useNextParamInLambdaTailrec.kt b/compiler/testData/codegen/box/defaultArguments/useNextParamInLambdaTailrec.kt index 7a33b8fa0dc..1123cea0830 100644 --- a/compiler/testData/codegen/box/defaultArguments/useNextParamInLambdaTailrec.kt +++ b/compiler/testData/codegen/box/defaultArguments/useNextParamInLambdaTailrec.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature. UNINITIALIZED_PARAMETER y. See KT-49800 tailrec fun foo(x: () -> String? = { y }, y: String = "fail"): String? { if (y == "start") return foo() diff --git a/compiler/testData/codegen/box/delegatedProperty/delegateToGenericJavaProperty.kt b/compiler/testData/codegen/box/delegatedProperty/delegateToGenericJavaProperty.kt index 90a26be694d..ec66aa50683 100644 --- a/compiler/testData/codegen/box/delegatedProperty/delegateToGenericJavaProperty.kt +++ b/compiler/testData/codegen/box/delegatedProperty/delegateToGenericJavaProperty.kt @@ -1,6 +1,6 @@ // TARGET_BACKEND: JVM -// v-- fir2ir produces an IrFunctionReference of type KProperty0 instead of an IrPropertyReference // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: REPEATED_ANNOTATION at val y9; fir2ir produces an IrFunctionReference of type KProperty0 instead of an IrPropertyReference // WITH_REFLECT // WITH_STDLIB // FILE: J.java diff --git a/compiler/testData/codegen/box/delegatedProperty/genericDelegateUncheckedCast2.kt b/compiler/testData/codegen/box/delegatedProperty/genericDelegateUncheckedCast2.kt index 12838490a13..5402654280d 100644 --- a/compiler/testData/codegen/box/delegatedProperty/genericDelegateUncheckedCast2.kt +++ b/compiler/testData/codegen/box/delegatedProperty/genericDelegateUncheckedCast2.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR diff --git a/compiler/testData/codegen/box/delegatedProperty/javaDelegateTopLevel.kt b/compiler/testData/codegen/box/delegatedProperty/javaDelegateTopLevel.kt index e7e39d887f7..91d5127d381 100644 --- a/compiler/testData/codegen/box/delegatedProperty/javaDelegateTopLevel.kt +++ b/compiler/testData/codegen/box/delegatedProperty/javaDelegateTopLevel.kt @@ -1,5 +1,8 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: V +// Caused by: java.lang.AssertionError: Unexpected IR element found during code generation. Either code generation for it is not implemented, or it should have been lowered: +// FUNCTION_REFERENCE 'public open fun getFoo (): @[FlexibleNullability] kotlin.String? declared in .J' type=kotlin.reflect.KMutableProperty0<@[FlexibleNullability] kotlin.String?> origin=null reflectionTarget= // WITH_STDLIB // MODULE: jjj diff --git a/compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt b/compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt index 736dc162ceb..03b8f0d20c0 100644 --- a/compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt +++ b/compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail: property.set should cause IllegalCallableAccessException // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/genericDelegateWithNoAdditionalInfo.kt b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/genericDelegateWithNoAdditionalInfo.kt index 2349553e26d..4a01b65de86 100644 --- a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/genericDelegateWithNoAdditionalInfo.kt +++ b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/genericDelegateWithNoAdditionalInfo.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: in progress (delegate branch) // WITH_STDLIB import kotlin.reflect.KProperty diff --git a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/kt39588.kt b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/kt39588.kt index 1d4c0f4d586..7c8a5120575 100644 --- a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/kt39588.kt +++ b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/kt39588.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM IR // IGNORE_BACKEND: JVM_IR import kotlin.reflect.KProperty diff --git a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt index 3d792c0e713..b039e83943c 100644 --- a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt +++ b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: in progress (delegate branch) import kotlin.reflect.KProperty class TypeInference { diff --git a/compiler/testData/codegen/box/delegation/delegationToMap.kt b/compiler/testData/codegen/box/delegation/delegationToMap.kt index 90209f96516..7552b75f0b6 100644 --- a/compiler/testData/codegen/box/delegation/delegationToMap.kt +++ b/compiler/testData/codegen/box/delegation/delegationToMap.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Shouldn't be executed in 'remove' // SKIP_JDK6 // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/delegation/simple1.0.kt b/compiler/testData/codegen/box/delegation/simple1.0.kt index 904157c6aa7..8452c762cc7 100644 --- a/compiler/testData/codegen/box/delegation/simple1.0.kt +++ b/compiler/testData/codegen/box/delegation/simple1.0.kt @@ -1,5 +1,6 @@ // !LANGUAGE: -NoDelegationToJavaDefaultInterfaceMembers // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // FILE: Base.java diff --git a/compiler/testData/codegen/box/enum/declaringClassOnEnumObject.kt b/compiler/testData/codegen/box/enum/declaringClassOnEnumObject.kt index 6d6be207813..6a320c8e7e8 100644 --- a/compiler/testData/codegen/box/enum/declaringClassOnEnumObject.kt +++ b/compiler/testData/codegen/box/enum/declaringClassOnEnumObject.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: UNRESOLVED_REFERENCE (declaringClass). See https://youtrack.jetbrains.com/issue/KT-49653. To be discussed. package test enum class KEnum { A } diff --git a/compiler/testData/codegen/box/enum/javaEnumValues.kt b/compiler/testData/codegen/box/enum/javaEnumValues.kt index c2ed2096907..3301eddb93e 100644 --- a/compiler/testData/codegen/box/enum/javaEnumValues.kt +++ b/compiler/testData/codegen/box/enum/javaEnumValues.kt @@ -1,5 +1,8 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: V +// Caused by: java.util.NoSuchElementException: Sequence contains no element matching the predicate. +// at org.jetbrains.kotlin.backend.jvm.lower.MappedEnumWhenLowering.visitClassNew(MappedEnumWhenLowering.kt:232) // FILE: E.java public enum E { A(); diff --git a/compiler/testData/codegen/box/enum/nameClashWithCompanion.kt b/compiler/testData/codegen/box/enum/nameClashWithCompanion.kt index 2ba0e9df43b..330e0d2c02c 100644 --- a/compiler/testData/codegen/box/enum/nameClashWithCompanion.kt +++ b/compiler/testData/codegen/box/enum/nameClashWithCompanion.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature (see https://youtrack.jetbrains.com/issue/KT-37591). UNRESOLVED_REFERENCE at '+' // WITH_STDLIB // MODULE: lib // FILE: lib.kt diff --git a/compiler/testData/codegen/box/extensionFunctions/executionOrder.kt b/compiler/testData/codegen/box/extensionFunctions/executionOrder.kt index c806d8fe1ec..2db5cb1b9e7 100644 --- a/compiler/testData/codegen/box/extensionFunctions/executionOrder.kt +++ b/compiler/testData/codegen/box/extensionFunctions/executionOrder.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: UNRESOLVED_REFERENCE at getFun. Questionable syntax var result = "" fun getReceiver() : Int { diff --git a/compiler/testData/codegen/box/fullJdk/kt46540.kt b/compiler/testData/codegen/box/fullJdk/kt46540.kt index 16b5f3411fa..be97a5b9530 100644 --- a/compiler/testData/codegen/box/fullJdk/kt46540.kt +++ b/compiler/testData/codegen/box/fullJdk/kt46540.kt @@ -1,7 +1,7 @@ // !LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 // SKIP_JDK6 // FULL_JDK diff --git a/compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt b/compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt index ff0daf57c1c..026e696c498 100644 --- a/compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt +++ b/compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: FUNCTION_EXPECTED after 1. . Questionable syntax val foo1 = fun Any.(): String { return "239" + this } diff --git a/compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt b/compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt index 13b53e584b1..51ddd912db9 100644 --- a/compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt +++ b/compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: FUNCTION_EXPECTED after 1. . Questionable syntax fun Any.foo1() : ()-> String { return { "239" + this } } diff --git a/compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt b/compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt index a9281ef118f..8cc4e768272 100644 --- a/compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt +++ b/compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +ProperIeee754Comparisons // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail 1: other fun testF(x: Any) = when (x) { diff --git a/compiler/testData/codegen/box/increment/argumentWithSideEffects.kt b/compiler/testData/codegen/box/increment/argumentWithSideEffects.kt index 81ed5602a52..fde8aa5efde 100644 --- a/compiler/testData/codegen/box/increment/argumentWithSideEffects.kt +++ b/compiler/testData/codegen/box/increment/argumentWithSideEffects.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature; questionable test, probably should not support. // Currently fails because prefix increment only calls getter once. var log = "" diff --git a/compiler/testData/codegen/box/inference/builderInference/builderCallAsReturnTypeInLocalClass.kt b/compiler/testData/codegen/box/inference/builderInference/builderCallAsReturnTypeInLocalClass.kt index 8a682b92723..4868380e76b 100644 --- a/compiler/testData/codegen/box/inference/builderInference/builderCallAsReturnTypeInLocalClass.kt +++ b/compiler/testData/codegen/box/inference/builderInference/builderCallAsReturnTypeInLocalClass.kt @@ -1,6 +1,6 @@ // WITH_STDLIB // IGNORE_BACKEND_FIR: JVM_IR - +// FIR status: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER on buildList calls (E) @OptIn(ExperimentalStdlibApi::class) fun foo1() { buildList { diff --git a/compiler/testData/codegen/box/inference/builderInference/cstBasedOnTwoBuilderInferenceLambda.kt b/compiler/testData/codegen/box/inference/builderInference/cstBasedOnTwoBuilderInferenceLambda.kt index ff8fda56fc1..9ebb8dce482 100644 --- a/compiler/testData/codegen/box/inference/builderInference/cstBasedOnTwoBuilderInferenceLambda.kt +++ b/compiler/testData/codegen/box/inference/builderInference/cstBasedOnTwoBuilderInferenceLambda.kt @@ -1,6 +1,7 @@ // WITH_STDLIB // IGNORE_BACKEND: WASM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: ARGUMENT_TYPE_MISMATCH at contribute arguments // TARGET_BACKEND: JVM import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/inference/builderInference/kt42139.kt b/compiler/testData/codegen/box/inference/builderInference/kt42139.kt index 8af5169a9ce..334f2d8f603 100644 --- a/compiler/testData/codegen/box/inference/builderInference/kt42139.kt +++ b/compiler/testData/codegen/box/inference/builderInference/kt42139.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +UnrestrictedBuilderInference // WITH_STDLIB // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER on select call (K) fun select(vararg x: R) = x[0] fun myEmptyList(): List = emptyList() diff --git a/compiler/testData/codegen/box/inference/builderInference/kt47052.kt b/compiler/testData/codegen/box/inference/builderInference/kt47052.kt index 34146478ae2..d199358c8bb 100644 --- a/compiler/testData/codegen/box/inference/builderInference/kt47052.kt +++ b/compiler/testData/codegen/box/inference/builderInference/kt47052.kt @@ -1,5 +1,6 @@ // WITH_STDLIB // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: in progress (delegate branch) public inline fun > flatMapTo1(destination: C, transform: (List) -> Iterable) {} diff --git a/compiler/testData/codegen/box/inference/builderInference/kt48445.kt b/compiler/testData/codegen/box/inference/builderInference/kt48445.kt index 47fdaaeb4fd..6412a2be62c 100644 --- a/compiler/testData/codegen/box/inference/builderInference/kt48445.kt +++ b/compiler/testData/codegen/box/inference/builderInference/kt48445.kt @@ -1,6 +1,7 @@ // IGNORE_BACKEND: WASM // !LANGUAGE: +UnrestrictedBuilderInference // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER on lazy call (Name3, T) // WITH_STDLIB internal class TowerDataElementsForName() { diff --git a/compiler/testData/codegen/box/inference/builderInference/kt48633.kt b/compiler/testData/codegen/box/inference/builderInference/kt48633.kt index 1be2132fd7c..9a4c2377be5 100644 --- a/compiler/testData/codegen/box/inference/builderInference/kt48633.kt +++ b/compiler/testData/codegen/box/inference/builderInference/kt48633.kt @@ -1,5 +1,6 @@ // DONT_TARGET_EXACT_BACKEND: WASM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER on buildList call (E) // WITH_STDLIB class TowerDataElementsForName() { diff --git a/compiler/testData/codegen/box/inference/builderInference/kt49285.kt b/compiler/testData/codegen/box/inference/builderInference/kt49285.kt index a73dbab46ab..3eeba3c18ca 100644 --- a/compiler/testData/codegen/box/inference/builderInference/kt49285.kt +++ b/compiler/testData/codegen/box/inference/builderInference/kt49285.kt @@ -1,5 +1,6 @@ // DONT_TARGET_EXACT_BACKEND: WASM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: in progress (delegate branch) // WITH_STDLIB import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/inference/builderInference/memberScope.kt b/compiler/testData/codegen/box/inference/builderInference/memberScope.kt index 469d00abe75..e569bdd35a3 100644 --- a/compiler/testData/codegen/box/inference/builderInference/memberScope.kt +++ b/compiler/testData/codegen/box/inference/builderInference/memberScope.kt @@ -2,7 +2,7 @@ // !DIAGNOSTICS: -DEPRECATION -OPT_IN_IS_NOT_ENABLED // WITH_STDLIB // IGNORE_BACKEND_FIR: JVM_IR - +// FIR status: NONE_APPLICABLE at all equals calls import kotlin.experimental.ExperimentalTypeInference interface TestInterface { diff --git a/compiler/testData/codegen/box/inference/builderInference/withExpectedType.kt b/compiler/testData/codegen/box/inference/builderInference/withExpectedType.kt index 1e9f8905d0f..9fa5b308350 100644 --- a/compiler/testData/codegen/box/inference/builderInference/withExpectedType.kt +++ b/compiler/testData/codegen/box/inference/builderInference/withExpectedType.kt @@ -2,6 +2,7 @@ // WITH_STDLIB // !DIAGNOSTICS: -OPT_IN_USAGE_ERROR -CAST_NEVER_SUCCEEDS // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Initializer type mismatch at first val x = : expected kotlin/collections/MutableList, actual kotlin/collections/MutableList import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/inference/builderInference/withoutAnnotation.kt b/compiler/testData/codegen/box/inference/builderInference/withoutAnnotation.kt index c356cdef8e0..3e7d839bd75 100644 --- a/compiler/testData/codegen/box/inference/builderInference/withoutAnnotation.kt +++ b/compiler/testData/codegen/box/inference/builderInference/withoutAnnotation.kt @@ -1,5 +1,6 @@ // WITH_STDLIB // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER on buildMap call (K) // !LANGUAGE: +UseBuilderInferenceWithoutAnnotation fun buildMap(builderAction: MutableMap.() -> Unit): Map = mapOf() diff --git a/compiler/testData/codegen/box/inference/noNothingValueInsideSpecialCall.kt b/compiler/testData/codegen/box/inference/noNothingValueInsideSpecialCall.kt index 15457606613..871cd52c3f0 100644 --- a/compiler/testData/codegen/box/inference/noNothingValueInsideSpecialCall.kt +++ b/compiler/testData/codegen/box/inference/noNothingValueInsideSpecialCall.kt @@ -1,6 +1,7 @@ // WITH_REFLECT // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: KotlinNothingValueException from create() fun create(modelClass: Class): T { return if (modelClass.isAssignableFrom(B::class.java)) { diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassWithCustomEquals.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassWithCustomEquals.kt index cf838d9e65d..09df303c227 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassWithCustomEquals.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassWithCustomEquals.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM // IGNORE_BACKEND: JVM // IGNORE_BACKEND: JVM_IR // WITH_STDLIB diff --git a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/enhancedNullability.kt b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/enhancedNullability.kt index faf9c9713d9..4f11ac76177 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/enhancedNullability.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/enhancedNullability.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: AE: Argument 1: expected R, but found I at INVOKEINTERFACE Sam.get // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY diff --git a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/multifileClassMemberFromStdlib.kt b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/multifileClassMemberFromStdlib.kt index f059de94357..1f7058687a1 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/multifileClassMemberFromStdlib.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/multifileClassMemberFromStdlib.kt @@ -8,7 +8,7 @@ // 1 java/lang/invoke/LambdaMetafactory // IGNORE_BACKEND_FIR: JVM_IR -// ^ OVERLOAD_RESOLUTION_AMBIGUITY: Overload resolution ambiguity between candidates: [kotlin/collections/plus, kotlin/collections/plus] +// FIR status: OVERLOAD_RESOLUTION_AMBIGUITY: Overload resolution ambiguity between candidates: [kotlin/collections/plus, kotlin/collections/plus] // FILE: multifileClassMemberFromStdlib.kt diff --git a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/intPlus.kt b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/intPlus.kt index f8376b8f9d0..8fd27460161 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/intPlus.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/intPlus.kt @@ -2,7 +2,7 @@ // IGNORE_BACKEND: ANDROID // ^ uses API not implemented on minSdkVersion 19 // IGNORE_BACKEND_FIR: JVM_IR -// ^ fir2ir creates an IrConst(value=2, type=@EnhancedNullability Int), which +// FIR status: fir2ir creates an IrConst(value=2, type=@EnhancedNullability Int), which // the backend generates as an int instead of Integer // WITH_STDLIB // JVM_TARGET: 1.8 diff --git a/compiler/testData/codegen/box/ir/clashingFakeOverrideSignatures.kt b/compiler/testData/codegen/box/ir/clashingFakeOverrideSignatures.kt index 60c64b33496..68a10524463 100644 --- a/compiler/testData/codegen/box/ir/clashingFakeOverrideSignatures.kt +++ b/compiler/testData/codegen/box/ir/clashingFakeOverrideSignatures.kt @@ -1,6 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR -// ^ TODO decide if we want to fix KT-42020 for FIR as well +// FIR status: validation failed. TODO decide if we want to fix KT-42020 for FIR as well open class Base { fun foo(x: T) = "x:$x" diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/dispatchReceiverValue.kt b/compiler/testData/codegen/box/ir/serializationRegressions/dispatchReceiverValue.kt index e67849be857..78129ae1b6e 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/dispatchReceiverValue.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/dispatchReceiverValue.kt @@ -4,7 +4,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND_FIR: JVM_IR -// ^ FIR doesn't support actualization in same module +// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // MODULE: lib // FILE: common.kt diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/signatureClash.kt b/compiler/testData/codegen/box/ir/serializationRegressions/signatureClash.kt index bfe13653ded..0d975618002 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/signatureClash.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/signatureClash.kt @@ -5,6 +5,7 @@ // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: validation failed. TODO decide if we want to fix KT-42020 for FIR as well // MODULE: lib // FILE: lib.kt diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/varAsFunctionCall.kt b/compiler/testData/codegen/box/ir/serializationRegressions/varAsFunctionCall.kt index 39562c9b37d..d308c7f8941 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/varAsFunctionCall.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/varAsFunctionCall.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: ARGUMENT_TYPE_MISMATCH at ok.z(fail), actual String, expected T // MODULE: lib // FILE: l1.kt diff --git a/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simple.kt b/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simple.kt index 7271e861b7d..d5fbbcb2d3b 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simple.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simple.kt @@ -1,5 +1,6 @@ // !JVM_DEFAULT_MODE: all-compatibility // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: failK // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt b/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt index c33c7635340..3c4967f4e44 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt @@ -1,5 +1,6 @@ // !JVM_DEFAULT_MODE: all-compatibility // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: failK // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/superCall.kt b/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/superCall.kt index ce2836c99d0..c6d6abc82b1 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/superCall.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/allCompatibility/superCall.kt @@ -1,5 +1,6 @@ // CHECK_BYTECODE_LISTING // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: questionable bytecode listing difference (open/final methods in final class) // !JVM_DEFAULT_MODE: all-compatibility // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 diff --git a/compiler/testData/codegen/box/jvm8/defaults/delegationBy/simple.kt b/compiler/testData/codegen/box/jvm8/defaults/delegationBy/simple.kt index a490911001f..7e3cf6eb32e 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/delegationBy/simple.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/delegationBy/simple.kt @@ -1,5 +1,6 @@ // !JVM_DEFAULT_MODE: enable // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: failK // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/delegationBy/simpleProperty.kt b/compiler/testData/codegen/box/jvm8/defaults/delegationBy/simpleProperty.kt index 701adb3ee93..907ca4f25dd 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/delegationBy/simpleProperty.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/delegationBy/simpleProperty.kt @@ -1,5 +1,6 @@ // !JVM_DEFAULT_MODE: enable // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: failK // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simple.kt b/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simple.kt index 035c7925b8e..3a1e81fe0f1 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simple.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simple.kt @@ -1,5 +1,6 @@ // !JVM_DEFAULT_MODE: all // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: failK // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simpleProperty.kt b/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simpleProperty.kt index 1ba6f3823e7..d64e4b348e3 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simpleProperty.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simpleProperty.kt @@ -1,5 +1,6 @@ // !JVM_DEFAULT_MODE: all // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: failK // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple.kt b/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple.kt index 308f8f9a7dc..8856847ba06 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: fail: method nonOverride was found in class DerivedClass // FULL_JDK // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple2.kt b/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple2.kt index d282f563d3d..ff185c58120 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple2.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple2.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NCDFE: Foo$DefaultImpls // FULL_JDK // JVM_TARGET: 1.8 // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/specialization.kt b/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/specialization.kt index eddddfad7d7..26b44e3e00c 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/specialization.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/specialization.kt @@ -1,6 +1,7 @@ // CHECK_BYTECODE_LISTING // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NCDFE: Foo$DefaultImpls // JVM_TARGET: 1.8 // WITH_STDLIB // MODULE: lib diff --git a/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/superCall.kt b/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/superCall.kt index 3faf90d3a0f..191cf9195a7 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/superCall.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/superCall.kt @@ -1,6 +1,7 @@ // CHECK_BYTECODE_LISTING // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NCDFE: Foo$DefaultImpls // JVM_TARGET: 1.8 // WITH_STDLIB // MODULE: lib diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/annotations.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/annotations.kt index 19ca9cd2f74..3f7969d81f4 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/annotations.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/annotations.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // TARGET_BACKEND: JVM // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual.kt index 0e19eb8cb26..a2be2be7b49 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // FILE: common.kt public expect fun Array.copyInto( diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual2.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual2.kt index d10a90a9fae..981cbff29ad 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual2.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual2.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // FILE: common.kt expect interface I { diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt index fbfb5d70bb9..c89fc38fc01 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/delegatedExpectedInterface.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/delegatedExpectedInterface.kt index a87caf2c660..7bccb3b7e38 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/delegatedExpectedInterface.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/delegatedExpectedInterface.kt @@ -1,6 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR - +// FIR status: default argument mapping in MPP isn't designed yet // FILE: lib.kt expect interface I { diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/dispatchReceiverValue.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/dispatchReceiverValue.kt index 957c3b51aba..c0a2b6e6912 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/dispatchReceiverValue.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/dispatchReceiverValue.kt @@ -2,6 +2,7 @@ // IGNORE_BACKEND: JS_IR // WASM_MUTE_REASON: EXPECT_DEFAULT_PARAMETERS // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // !LANGUAGE: +MultiPlatformProjects // KT-41901 diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/extensionReceiverValue.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/extensionReceiverValue.kt index d7ae1bdb7a0..880034daadf 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/extensionReceiverValue.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/extensionReceiverValue.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // !LANGUAGE: +MultiPlatformProjects // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt index 7af0442b04c..a359501c520 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt index 7436593f8ca..421c6079ff0 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // MODULE: lib // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromCommonClass.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromCommonClass.kt index 99afd861ee1..cda62d40a0d 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromCommonClass.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromCommonClass.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt index 47eb812a1f9..aa98c000b9b 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedInterface.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedInterface.kt index 87152991348..27142c56d57 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedInterface.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedInterface.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // FILE: lib.kt expect interface I { diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt index 5dad5f4d94e..ac1468caf89 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt index 57b94603989..0f5b057975f 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt index 66cc4c60681..5bd73055fe4 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // FILE: lib.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt index 0af5d49b977..e11aa8a3ea8 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/jvmOverloads.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/jvmOverloads.kt index 3107ac5a067..f9c5d63e1f3 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/jvmOverloads.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/jvmOverloads.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // TARGET_BACKEND: JVM // WITH_STDLIB // FILE: J.java diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt index 5d30d0b1b03..0d2a20639aa 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23739.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23739.kt index 6b12a713e14..3e08626acb3 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23739.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/kt23739.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // FILE: common.kt // A LOT OF LINES diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/parametersInArgumentValues.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/parametersInArgumentValues.kt index 521a8568848..5b5f76848f4 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/parametersInArgumentValues.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/parametersInArgumentValues.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/superCall.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/superCall.kt index 2748b35c29d..a0fb051470f 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/superCall.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/superCall.kt @@ -2,6 +2,7 @@ // WASM_MUTE_REASON: EXPECT_DEFAULT_PARAMETERS // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt index 3b9528eb6ec..da36dfd4998 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // IGNORE_BACKEND: NATIVE // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt index 927190bc02d..6f5fdbb10d1 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND: WASM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: default argument mapping in MPP isn't designed yet // WITH_STDLIB // MODULE: lib // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/expectClassInJvmMultifileFacade.kt b/compiler/testData/codegen/box/multiplatform/expectClassInJvmMultifileFacade.kt index fba9f01eb58..a26339daee1 100644 --- a/compiler/testData/codegen/box/multiplatform/expectClassInJvmMultifileFacade.kt +++ b/compiler/testData/codegen/box/multiplatform/expectClassInJvmMultifileFacade.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // TARGET_BACKEND: JVM // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/expectProperty.kt b/compiler/testData/codegen/box/multiplatform/expectProperty.kt index 898506d6f81..a2d1bae3bd6 100644 --- a/compiler/testData/codegen/box/multiplatform/expectProperty.kt +++ b/compiler/testData/codegen/box/multiplatform/expectProperty.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // !LANGUAGE: +MultiPlatformProjects // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/noArgActualConstructor.kt b/compiler/testData/codegen/box/multiplatform/noArgActualConstructor.kt index 6f58e5a7d9e..63be8dc6c1c 100644 --- a/compiler/testData/codegen/box/multiplatform/noArgActualConstructor.kt +++ b/compiler/testData/codegen/box/multiplatform/noArgActualConstructor.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // TARGET_BACKEND: JVM // WITH_STDLIB // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/optionalExpectation.kt b/compiler/testData/codegen/box/multiplatform/optionalExpectation.kt index 88731aa36d6..dda4ccaaddd 100644 --- a/compiler/testData/codegen/box/multiplatform/optionalExpectation.kt +++ b/compiler/testData/codegen/box/multiplatform/optionalExpectation.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // !LANGUAGE: +MultiPlatformProjects // !OPT_IN: kotlin.ExperimentalMultiplatform // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/notNullAssertions/callAssertions.kt b/compiler/testData/codegen/box/notNullAssertions/callAssertions.kt index e1525b5a4fd..d0763812793 100644 --- a/compiler/testData/codegen/box/notNullAssertions/callAssertions.kt +++ b/compiler/testData/codegen/box/notNullAssertions/callAssertions.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NPE expected on calling foo // DISABLE_PARAM_ASSERTIONS // MODULE: lib diff --git a/compiler/testData/codegen/box/notNullAssertions/definitelyNotNullTypes.kt b/compiler/testData/codegen/box/notNullAssertions/definitelyNotNullTypes.kt index a6463f223f5..9fcc3059e32 100644 --- a/compiler/testData/codegen/box/notNullAssertions/definitelyNotNullTypes.kt +++ b/compiler/testData/codegen/box/notNullAssertions/definitelyNotNullTypes.kt @@ -1,7 +1,7 @@ // !LANGUAGE: +DefinitelyNonNullableTypes +ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR - +// FIR status: wrong NOTHING_TO_OVERRIDE at KDerived.foo // FILE: JClass.java import org.jetbrains.annotations.*; diff --git a/compiler/testData/codegen/box/notNullAssertions/delegation.kt b/compiler/testData/codegen/box/notNullAssertions/delegation.kt index 8bc81ef96b0..baa4da791b3 100644 --- a/compiler/testData/codegen/box/notNullAssertions/delegation.kt +++ b/compiler/testData/codegen/box/notNullAssertions/delegation.kt @@ -1,6 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR - +// FIR status: Fail: should have been an exception // MODULE: lib // FILE: Delegation.java diff --git a/compiler/testData/codegen/box/notNullAssertions/rightElvisOperand.kt b/compiler/testData/codegen/box/notNullAssertions/rightElvisOperand.kt index de09a20e275..d9b947af205 100644 --- a/compiler/testData/codegen/box/notNullAssertions/rightElvisOperand.kt +++ b/compiler/testData/codegen/box/notNullAssertions/rightElvisOperand.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail: should have been an exception in 'bar()' // MODULE: lib // FILE: RightElvisOperand.java diff --git a/compiler/testData/codegen/box/objects/kt3684.kt b/compiler/testData/codegen/box/objects/kt3684.kt index 3bb974d977f..2b251f01f06 100644 --- a/compiler/testData/codegen/box/objects/kt3684.kt +++ b/compiler/testData/codegen/box/objects/kt3684.kt @@ -1,4 +1,6 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: NPE: null cannot be cast to not-null type IrPropertySymbol +// while translating this@R|/|.R|/X.n| open class X(private val n: String) { fun foo(): String { diff --git a/compiler/testData/codegen/box/platformTypes/kt49209.kt b/compiler/testData/codegen/box/platformTypes/kt49209.kt index 17d03eb6e7b..eeaf3656271 100644 --- a/compiler/testData/codegen/box/platformTypes/kt49209.kt +++ b/compiler/testData/codegen/box/platformTypes/kt49209.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: RETURN_TYPE_MISMATCH on toOptional: expected Optional, actual @EN Optional<@EN T & Any> // IGNORE_BACKEND: ANDROID // JVM_TARGET: 1.8 // FULL_JDK diff --git a/compiler/testData/codegen/box/polymorphicSignature/varargOfObjects_after.kt b/compiler/testData/codegen/box/polymorphicSignature/varargOfObjects_after.kt index 1f4e7de5341..b34151a042a 100644 --- a/compiler/testData/codegen/box/polymorphicSignature/varargOfObjects_after.kt +++ b/compiler/testData/codegen/box/polymorphicSignature/varargOfObjects_after.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +PolymorphicSignature // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail 9 // TARGET_BACKEND: JVM // FULL_JDK // SKIP_JDK6 diff --git a/compiler/testData/codegen/box/properties/genericWithSameName.kt b/compiler/testData/codegen/box/properties/genericWithSameName.kt index 205a3e81eaa..8bfc683a35f 100644 --- a/compiler/testData/codegen/box/properties/genericWithSameName.kt +++ b/compiler/testData/codegen/box/properties/genericWithSameName.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: JVM, JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM package foo diff --git a/compiler/testData/codegen/box/properties/sideEffectInTopLevelInitializerMultiModule.kt b/compiler/testData/codegen/box/properties/sideEffectInTopLevelInitializerMultiModule.kt index ac660024993..2bda2ce303d 100644 --- a/compiler/testData/codegen/box/properties/sideEffectInTopLevelInitializerMultiModule.kt +++ b/compiler/testData/codegen/box/properties/sideEffectInTopLevelInitializerMultiModule.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM // IGNORE_BACKEND: JVM, JVM_IR // IGNORE_BACKEND: NATIVE // IGNORE_LIGHT_ANALYSIS diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt43159_ArrayUpperBound.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt43159_ArrayUpperBound.kt index 1045a230b89..4c74a5216bb 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt43159_ArrayUpperBound.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt43159_ArrayUpperBound.kt @@ -1,6 +1,7 @@ // WITH_STDLIB // IGNORE_BACKEND: JVM, JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM fun test(array: T): Int { var sum = 0 diff --git a/compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt b/compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt index 9792433a3c5..de7f56afc60 100644 --- a/compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt +++ b/compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt @@ -2,6 +2,7 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM, JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM // WITH_STDLIB // Note: This fails because explicit types are ignored in destructuring declarations (KT-22392). diff --git a/compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt b/compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt index b0f672abbff..0cc50f5e3d3 100644 --- a/compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt +++ b/compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt @@ -2,6 +2,7 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM, JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM // WITH_STDLIB // Note: This fails because explicit types are ignored in destructuring declarations (KT-22392). diff --git a/compiler/testData/codegen/box/reflection/annotations/onTypes/arrayKClass.kt b/compiler/testData/codegen/box/reflection/annotations/onTypes/arrayKClass.kt index 0db0871261d..79e266cd756 100644 --- a/compiler/testData/codegen/box/reflection/annotations/onTypes/arrayKClass.kt +++ b/compiler/testData/codegen/box/reflection/annotations/onTypes/arrayKClass.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail: class kotlin.reflect.KClass // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/onTypes/classLiteralWithExpectedType.kt b/compiler/testData/codegen/box/reflection/annotations/onTypes/classLiteralWithExpectedType.kt index 0e66c2c9f4b..07ab1cbb0f0 100644 --- a/compiler/testData/codegen/box/reflection/annotations/onTypes/classLiteralWithExpectedType.kt +++ b/compiler/testData/codegen/box/reflection/annotations/onTypes/classLiteralWithExpectedType.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: assertEquals fails // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/onTypes/differentArgumentTypes.kt b/compiler/testData/codegen/box/reflection/annotations/onTypes/differentArgumentTypes.kt index 1bd4f9a2793..ac11a4374c0 100644 --- a/compiler/testData/codegen/box/reflection/annotations/onTypes/differentArgumentTypes.kt +++ b/compiler/testData/codegen/box/reflection/annotations/onTypes/differentArgumentTypes.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: assertEquals fails (something wrong with argument order/mapping) // TARGET_BACKEND: JVM // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/annotations/onTypes/differentPositions.kt b/compiler/testData/codegen/box/reflection/annotations/onTypes/differentPositions.kt index 1063a89e39a..260325a66e8 100644 --- a/compiler/testData/codegen/box/reflection/annotations/onTypes/differentPositions.kt +++ b/compiler/testData/codegen/box/reflection/annotations/onTypes/differentPositions.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: No annotations found on type argument // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classes/nestedClassesInScript.kt b/compiler/testData/codegen/box/reflection/classes/nestedClassesInScript.kt index 068f83e34db..9f1439a4a76 100644 --- a/compiler/testData/codegen/box/reflection/classes/nestedClassesInScript.kt +++ b/compiler/testData/codegen/box/reflection/classes/nestedClassesInScript.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: scripts aren't supported yet // IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt b/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt index 3df54a12a51..68755cc3d00 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt @@ -1,4 +1,6 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail, expected: kotlin.jvm.functions.Function1, java.util.List>, +// actual: interface kotlin.jvm.functions.Function1 // TARGET_BACKEND: JVM import java.util.Date diff --git a/compiler/testData/codegen/box/reflection/parameters/instanceParameterOfFakeOverride.kt b/compiler/testData/codegen/box/reflection/parameters/instanceParameterOfFakeOverride.kt index a3a87956473..c29bbd430b7 100644 --- a/compiler/testData/codegen/box/reflection/parameters/instanceParameterOfFakeOverride.kt +++ b/compiler/testData/codegen/box/reflection/parameters/instanceParameterOfFakeOverride.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Expected , actual // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt b/compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt index a6c25f0fe39..574bd003bd5 100644 --- a/compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt +++ b/compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail J::prop == K::prop (these are different properties) // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_after.kt b/compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_after.kt index 045220d484a..9e2dc78f049 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_after.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_after.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail 2: kotlin.collections.List // WITH_REFLECT // FILE: box.kt diff --git a/compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_after.kt b/compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_after.kt index dca9a7dbeab..d1077fcb98e 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_after.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_after.kt @@ -1,5 +1,7 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Expected (Kotlin reflection is not available)>, +// actual (Kotlin reflection is not available)> // WITH_STDLIB // FILE: box.kt diff --git a/compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_before.kt b/compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_before.kt index df0fddb515a..30ddee71549 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_before.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_before.kt @@ -2,6 +2,8 @@ // !OPT_IN: kotlin.ExperimentalStdlibApi // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Expected (Kotlin reflection is not available)>, +// actual (Kotlin reflection is not available)> // WITH_STDLIB // FILE: box.kt diff --git a/compiler/testData/codegen/box/reflection/typeOf/rawTypes_after.kt b/compiler/testData/codegen/box/reflection/typeOf/rawTypes_after.kt index 6ef788ba19d..5c99e4e2d17 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/rawTypes_after.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/rawTypes_after.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail 1: test.C<*, *> // WITH_REFLECT // FILE: box.kt diff --git a/compiler/testData/codegen/box/reflection/typeOf/rawTypes_before.kt b/compiler/testData/codegen/box/reflection/typeOf/rawTypes_before.kt index 0324f8781a6..1bcb9ec73b5 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/rawTypes_before.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/rawTypes_before.kt @@ -2,6 +2,7 @@ // !OPT_IN: kotlin.ExperimentalStdlibApi // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: Fail 1: test.C<*, *> // WITH_REFLECT // FILE: box.kt diff --git a/compiler/testData/codegen/box/sam/adapters/inheritedOverriddenAdapter.kt b/compiler/testData/codegen/box/sam/adapters/inheritedOverriddenAdapter.kt index 1f8e269310c..e6c3e9d98b3 100644 --- a/compiler/testData/codegen/box/sam/adapters/inheritedOverriddenAdapter.kt +++ b/compiler/testData/codegen/box/sam/adapters/inheritedOverriddenAdapter.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: OVERLOAD_RESOLUTION_AMBIGUITY on sub.foo {} // WITH_STDLIB // MODULE: lib // FILE: Super.java diff --git a/compiler/testData/codegen/box/sam/adapters/operators/legacyModOperator.kt b/compiler/testData/codegen/box/sam/adapters/operators/legacyModOperator.kt index fdfc2ca8aba..4b7e4431401 100644 --- a/compiler/testData/codegen/box/sam/adapters/operators/legacyModOperator.kt +++ b/compiler/testData/codegen/box/sam/adapters/operators/legacyModOperator.kt @@ -1,6 +1,7 @@ // TARGET_BACKEND: JVM // !LANGUAGE: -ProhibitOperatorMod // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature // MODULE: lib // FILE: Java.java diff --git a/compiler/testData/codegen/box/sam/arrayAsVarargAfterSamArgument.kt b/compiler/testData/codegen/box/sam/arrayAsVarargAfterSamArgument.kt index c2bdd520cb9..4b6051efdbe 100644 --- a/compiler/testData/codegen/box/sam/arrayAsVarargAfterSamArgument.kt +++ b/compiler/testData/codegen/box/sam/arrayAsVarargAfterSamArgument.kt @@ -1,5 +1,6 @@ // !LANGUAGE: -ProhibitVarargAsArrayAfterSamArgument // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature // TARGET_BACKEND: JVM // FILE: Test.java diff --git a/compiler/testData/codegen/box/sam/kt49226.kt b/compiler/testData/codegen/box/sam/kt49226.kt index 68a08cde622..bb185a17b99 100644 --- a/compiler/testData/codegen/box/sam/kt49226.kt +++ b/compiler/testData/codegen/box/sam/kt49226.kt @@ -1,6 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR -// java.lang.UnsupportedOperationException: This function has a reified type parameter and thus can only be inlined at compilation time, +// FIR status: java.lang.UnsupportedOperationException: This function has a reified type parameter and thus can only be inlined at compilation time, // not called directly. // at kotlin.jvm.internal.Intrinsics.throwUndefinedForReified(Intrinsics.java:207) // at kotlin.jvm.internal.Intrinsics.throwUndefinedForReified(Intrinsics.java:201) diff --git a/compiler/testData/codegen/box/sam/samInterfaceTypeParameterErasure.kt b/compiler/testData/codegen/box/sam/samInterfaceTypeParameterErasure.kt index 99b82c6b1dc..03bfba052b5 100644 --- a/compiler/testData/codegen/box/sam/samInterfaceTypeParameterErasure.kt +++ b/compiler/testData/codegen/box/sam/samInterfaceTypeParameterErasure.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: ARGUMENT_TYPE_MISMATCH on J.foo { ... } // SAM_CONVERSIONS: CLASS // ^ test checks reflection for synthetic classes // FILE: J.java diff --git a/compiler/testData/codegen/box/script/classReference.kt b/compiler/testData/codegen/box/script/classReference.kt index a9690a2b200..ed0a4eea058 100644 --- a/compiler/testData/codegen/box/script/classReference.kt +++ b/compiler/testData/codegen/box/script/classReference.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: scripts aren't supported yet // IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // FILE: test.kt diff --git a/compiler/testData/codegen/box/script/localCaptureTests.kt b/compiler/testData/codegen/box/script/localCaptureTests.kt index b2c82ab5582..286b97acbb8 100644 --- a/compiler/testData/codegen/box/script/localCaptureTests.kt +++ b/compiler/testData/codegen/box/script/localCaptureTests.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: scripts aren't supported yet // IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // FILE: test.kt diff --git a/compiler/testData/codegen/box/script/scripInstance.kt b/compiler/testData/codegen/box/script/scripInstance.kt index 7c82ae4e4eb..58a9a6a6bf1 100644 --- a/compiler/testData/codegen/box/script/scripInstance.kt +++ b/compiler/testData/codegen/box/script/scripInstance.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: scripts aren't supported yet // IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // FILE: test.kt diff --git a/compiler/testData/codegen/box/script/scriptNestedClassInstance.kt b/compiler/testData/codegen/box/script/scriptNestedClassInstance.kt index 4bb6a756eff..77e4c6017b4 100644 --- a/compiler/testData/codegen/box/script/scriptNestedClassInstance.kt +++ b/compiler/testData/codegen/box/script/scriptNestedClassInstance.kt @@ -1,5 +1,6 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: scripts aren't supported yet // IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // FILE: test.kt diff --git a/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt b/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt index f2fdb2f7f72..52dce657947 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt @@ -7,6 +7,7 @@ // IGNORE_BACKEND: JVM // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: not supported in JVM open class Base { open fun setup() {} diff --git a/compiler/testData/codegen/box/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt b/compiler/testData/codegen/box/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt index ec2a4726762..985b5cf6cf2 100644 --- a/compiler/testData/codegen/box/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt +++ b/compiler/testData/codegen/box/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +SuspendConversion // IGNORE_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: ChainedFunSuspendConversionForSimpleExpressionKt$box$1 cannot be cast to kotlin.jvm.functions.Function1 fun interface SuspendRunnable { suspend fun invoke() diff --git a/compiler/testData/codegen/box/suspendConversion/suspendAndFunConversionInDisabledMode.kt b/compiler/testData/codegen/box/suspendConversion/suspendAndFunConversionInDisabledMode.kt index 68f75e272af..322c583e92e 100644 --- a/compiler/testData/codegen/box/suspendConversion/suspendAndFunConversionInDisabledMode.kt +++ b/compiler/testData/codegen/box/suspendConversion/suspendAndFunConversionInDisabledMode.kt @@ -2,6 +2,7 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_EXPRESSION // IGNORE_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: SuspendAndFunConversionInDisabledModeKt$box$1 cannot be cast to kotlin.jvm.functions.Function1 fun interface Runnable { fun run() diff --git a/compiler/testData/codegen/box/suspendConversion/suspendConversionCompatibility.kt b/compiler/testData/codegen/box/suspendConversion/suspendConversionCompatibility.kt index 97ca7cc061c..7297baf4949 100644 --- a/compiler/testData/codegen/box/suspendConversion/suspendConversionCompatibility.kt +++ b/compiler/testData/codegen/box/suspendConversion/suspendConversionCompatibility.kt @@ -2,6 +2,7 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_EXPRESSION // WITH_STDLIB // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: java.lang.Integer cannot be cast to java.lang.String object Test1 { fun foo(f: () -> Unit) {} diff --git a/compiler/testData/codegen/box/suspendConversion/suspendConversionOnVarargElements.kt b/compiler/testData/codegen/box/suspendConversion/suspendConversionOnVarargElements.kt index d8940be6cc1..8d974827a4b 100644 --- a/compiler/testData/codegen/box/suspendConversion/suspendConversionOnVarargElements.kt +++ b/compiler/testData/codegen/box/suspendConversion/suspendConversionOnVarargElements.kt @@ -3,6 +3,7 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER // IGNORE_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: SuspendConversionOnVarargElementsKt$box$2 cannot be cast to kotlin.jvm.functions.Function1 fun useSuspendVararg(vararg sfn: suspend () -> Unit) {} diff --git a/compiler/testData/codegen/box/typeMapping/enhancedPrimitives.kt b/compiler/testData/codegen/box/typeMapping/enhancedPrimitives.kt index b08e58ea0ec..b88a99018cf 100644 --- a/compiler/testData/codegen/box/typeMapping/enhancedPrimitives.kt +++ b/compiler/testData/codegen/box/typeMapping/enhancedPrimitives.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: AnalyzerException: Argument 1: expected R, but found I // TARGET_BACKEND: JVM // FILE: J.java diff --git a/compiler/testData/codegen/box/typealias/kt45308.kt b/compiler/testData/codegen/box/typealias/kt45308.kt index de507f30575..422f5b2ec61 100644 --- a/compiler/testData/codegen/box/typealias/kt45308.kt +++ b/compiler/testData/codegen/box/typealias/kt45308.kt @@ -1,8 +1,8 @@ // This test checks that unresolved typealias in an abbreviated type does not crash the compiler or result in a compilation error. // Apparently, there's some demand for this behavior, see KT-45308. -// FIR reports RETURN_TYPE_MISMATCH: Return type mismatch: expected kotlin/String, actual a/A // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: reports RETURN_TYPE_MISMATCH: Return type mismatch: expected kotlin/String, actual a/A // MODULE: a // FILE: a.kt diff --git a/compiler/testData/codegen/box/unaryOp/call.kt b/compiler/testData/codegen/box/unaryOp/call.kt index e87bada56b9..54184883ba6 100644 --- a/compiler/testData/codegen/box/unaryOp/call.kt +++ b/compiler/testData/codegen/box/unaryOp/call.kt @@ -1,6 +1,6 @@ // LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 fun box(): String { val a1: Byte = 1.unaryMinus() diff --git a/compiler/testData/codegen/box/unaryOp/callNullable.kt b/compiler/testData/codegen/box/unaryOp/callNullable.kt index 5c6f6c3fa6d..46edced2f89 100644 --- a/compiler/testData/codegen/box/unaryOp/callNullable.kt +++ b/compiler/testData/codegen/box/unaryOp/callNullable.kt @@ -1,6 +1,6 @@ // LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 fun box(): String { val a1: Byte? = 1.unaryMinus() diff --git a/compiler/testData/codegen/box/unaryOp/longOverflow.kt b/compiler/testData/codegen/box/unaryOp/longOverflow.kt index 727210cc65d..4d49b743125 100644 --- a/compiler/testData/codegen/box/unaryOp/longOverflow.kt +++ b/compiler/testData/codegen/box/unaryOp/longOverflow.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR -// For reasons this test is ignored, go to KT-46419 +// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419 fun box(): String { val a: Long = -(1 shl 31) diff --git a/compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt b/compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt index 9702c142fec..ef1554c97a8 100644 --- a/compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt +++ b/compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND_FIR: JVM_IR // !LANGUAGE: -ProhibitAssigningSingleElementsToVarargsInNamedForm -AllowAssigningArrayElementsToVarargsInNamedFormForFunctions +// FIR status: don't support legacy feature fun box(): String { if (test1(p = 1) != "1") return "fail 1" diff --git a/compiler/testData/codegen/box/when/exhaustiveBoolean.kt b/compiler/testData/codegen/box/when/exhaustiveBoolean.kt index f7b35c3c30b..e1d6d67ef78 100644 --- a/compiler/testData/codegen/box/when/exhaustiveBoolean.kt +++ b/compiler/testData/codegen/box/when/exhaustiveBoolean.kt @@ -1,5 +1,6 @@ // LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: don't support legacy feature fun box() : String = when (true) { ((true)) -> "OK" (1 == 2) -> "Not ok" diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt index 80a69e102c6..3c7bb5a78e8 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject +ProperIeee754Comparisons // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: y is Double but not 0.0 val az: Any = -0.0 val afz: Any = -0.0f