From 0f4647d95e28402d428e2ed089313cdfb9b95bcf Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Wed, 8 Dec 2021 15:23:16 +0300 Subject: [PATCH] Black box: update/set FIR status for some new tests --- .../codegen/box/annotations/instances/multimoduleCreation.kt | 2 ++ .../testData/codegen/box/casts/castToDefinitelyNotNullType.kt | 2 +- compiler/testData/codegen/box/collections/kt48945.kt | 2 +- compiler/testData/codegen/box/collections/kt48945a.kt | 2 +- compiler/testData/codegen/box/collections/kt48945b.kt | 2 +- compiler/testData/codegen/box/collections/kt48945c.kt | 2 +- compiler/testData/codegen/box/extensionClasses/constructors.kt | 1 + .../extensionClasses/contextualPrimaryConstructorWithParams.kt | 1 + compiler/testData/codegen/box/extensionClasses/edouble.kt | 1 + .../testData/codegen/box/extensionClasses/genericCollection.kt | 1 + compiler/testData/codegen/box/extensionClasses/generics.kt | 1 + compiler/testData/codegen/box/extensionClasses/simple.kt | 1 + .../codegen/box/extensionClasses/typealiasForContextualClass.kt | 1 + .../codegen/box/extensionClasses/useFromAnotherModule.kt | 1 + .../contextReceivers/arrayAccessCompositeOperators.kt | 1 + .../extensionFunctions/contextReceivers/arrayAccessOperators.kt | 1 + .../contextReceivers/compoundAssignmentOperators.kt | 1 + .../contextReceivers/contextualFunctionConversion.kt | 1 + .../contextReceivers/delegatedPropertiesOperators.kt | 1 + .../box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt | 1 + .../extensionFunctions/contextReceivers/fromKEEP/compareTo.kt | 1 + .../contextReceivers/fromKEEP/decimateEveryEvenThird.kt | 1 + .../box/extensionFunctions/contextReceivers/fromKEEP/dp.kt | 1 + .../contextReceivers/fromKEEP/functionalType.kt | 1 + .../extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt | 1 + .../contextReceivers/fromKEEP/structuredConcurrency.kt | 1 + .../contextReceivers/inferGenericPropertyType.kt | 1 + .../box/extensionFunctions/contextReceivers/iteratorOperator.kt | 1 + .../codegen/box/extensionFunctions/contextReceivers/overload.kt | 1 + .../box/extensionFunctions/contextReceivers/overloading.kt | 1 + .../contextReceivers/passingLambdaToContextualParam.kt | 1 + .../box/extensionFunctions/contextReceivers/plusAssign.kt | 1 + .../box/extensionFunctions/contextReceivers/plusMatrix.kt | 1 + .../contextReceivers/propertyCompoundAssignment.kt | 1 + .../box/extensionFunctions/contextReceivers/simpleCall.kt | 1 + .../codegen/box/extensionFunctions/contextReceivers/this.kt | 1 + .../box/extensionFunctions/contextReceivers/unaryOperators.kt | 1 + .../extensionFunctions/contextReceivers/useFromAnotherModule.kt | 1 + .../contextReceivers/useFromAnotherModuleSuspending.kt | 1 + .../useFromAnotherModuleWithDefaultParameterValues.kt | 1 + compiler/testData/codegen/box/inference/kt49838.kt | 1 + compiler/testData/codegen/box/sealed/kt49752.kt | 2 +- 42 files changed, 43 insertions(+), 6 deletions(-) diff --git a/compiler/testData/codegen/box/annotations/instances/multimoduleCreation.kt b/compiler/testData/codegen/box/annotations/instances/multimoduleCreation.kt index 3ffc2a27eb2..0a02e0f1ecb 100644 --- a/compiler/testData/codegen/box/annotations/instances/multimoduleCreation.kt +++ b/compiler/testData/codegen/box/annotations/instances/multimoduleCreation.kt @@ -1,4 +1,6 @@ // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: IllegalStateException: Usage of default value argument for this annotation is not yet possible. +// Please specify value for 'A.kClass' explicitly // TARGET_BACKEND: JVM_IR // IGNORE_DEXING // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt b/compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt index 63d0b3645fe..279c3070fe6 100644 --- a/compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt +++ b/compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt @@ -3,7 +3,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: WASM // IGNORE_BACKEND_FIR: JVM_IR -// FIR status: not supported in JVM +// FIR status: Syntax error at (T & Any) fun test(t: T) = t as (T & Any) diff --git a/compiler/testData/codegen/box/collections/kt48945.kt b/compiler/testData/codegen/box/collections/kt48945.kt index 6c260e06c7a..0d96f95a02e 100644 --- a/compiler/testData/codegen/box/collections/kt48945.kt +++ b/compiler/testData/codegen/box/collections/kt48945.kt @@ -1,7 +1,7 @@ // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // IGNORE_BACKEND_FIR: JVM_IR -// FIR status: in progress (M.G.) +// FIR status: in progress (M.G.), different structure of f/o // 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 d3b33a602bd..1ef197387cf 100644 --- a/compiler/testData/codegen/box/collections/kt48945a.kt +++ b/compiler/testData/codegen/box/collections/kt48945a.kt @@ -1,7 +1,7 @@ // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // IGNORE_BACKEND_FIR: JVM_IR -// FIR status: in progress (M.G.) +// FIR status: in progress (M.G.), different structure of f/o // 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 4233d6d14a9..d4fdf6cf209 100644 --- a/compiler/testData/codegen/box/collections/kt48945b.kt +++ b/compiler/testData/codegen/box/collections/kt48945b.kt @@ -1,7 +1,7 @@ // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // IGNORE_BACKEND_FIR: JVM_IR -// FIR status: in progress (M.G.) +// FIR status: in progress (M.G.), different structure of f/o // 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 48f45f485db..f37b38f5347 100644 --- a/compiler/testData/codegen/box/collections/kt48945c.kt +++ b/compiler/testData/codegen/box/collections/kt48945c.kt @@ -1,7 +1,7 @@ // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // IGNORE_BACKEND_FIR: JVM_IR -// FIR status: in progress (M.G.) +// FIR status: in progress (M.G.), different structure of f/o // IGNORE_BACKEND: ANDROID // ^ NSME: java.util.AbstractMap.remove // FULL_JDK diff --git a/compiler/testData/codegen/box/extensionClasses/constructors.kt b/compiler/testData/codegen/box/extensionClasses/constructors.kt index f65cc67a786..b8663c8890e 100644 --- a/compiler/testData/codegen/box/extensionClasses/constructors.kt +++ b/compiler/testData/codegen/box/extensionClasses/constructors.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME class A(val ok: String) diff --git a/compiler/testData/codegen/box/extensionClasses/contextualPrimaryConstructorWithParams.kt b/compiler/testData/codegen/box/extensionClasses/contextualPrimaryConstructorWithParams.kt index 2f9cd564532..306a4814b91 100644 --- a/compiler/testData/codegen/box/extensionClasses/contextualPrimaryConstructorWithParams.kt +++ b/compiler/testData/codegen/box/extensionClasses/contextualPrimaryConstructorWithParams.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class O(val o: String) diff --git a/compiler/testData/codegen/box/extensionClasses/edouble.kt b/compiler/testData/codegen/box/extensionClasses/edouble.kt index 6d6293eaf74..8a56652f609 100644 --- a/compiler/testData/codegen/box/extensionClasses/edouble.kt +++ b/compiler/testData/codegen/box/extensionClasses/edouble.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class EntityContext { var d = DoubleArray(16) diff --git a/compiler/testData/codegen/box/extensionClasses/genericCollection.kt b/compiler/testData/codegen/box/extensionClasses/genericCollection.kt index a2dd4a72f1b..95804fb788b 100644 --- a/compiler/testData/codegen/box/extensionClasses/genericCollection.kt +++ b/compiler/testData/codegen/box/extensionClasses/genericCollection.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME context(Collection

) class A

{ diff --git a/compiler/testData/codegen/box/extensionClasses/generics.kt b/compiler/testData/codegen/box/extensionClasses/generics.kt index 1172f1614f2..2f14660dcf6 100644 --- a/compiler/testData/codegen/box/extensionClasses/generics.kt +++ b/compiler/testData/codegen/box/extensionClasses/generics.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported context(T) class B { val result = if (length == 2) "OK" else "fail" diff --git a/compiler/testData/codegen/box/extensionClasses/simple.kt b/compiler/testData/codegen/box/extensionClasses/simple.kt index 8bcfd4e437a..171f78a7cd7 100644 --- a/compiler/testData/codegen/box/extensionClasses/simple.kt +++ b/compiler/testData/codegen/box/extensionClasses/simple.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class A { val ok = "OK" diff --git a/compiler/testData/codegen/box/extensionClasses/typealiasForContextualClass.kt b/compiler/testData/codegen/box/extensionClasses/typealiasForContextualClass.kt index 7784e554637..ccd17ccb94f 100644 --- a/compiler/testData/codegen/box/extensionClasses/typealiasForContextualClass.kt +++ b/compiler/testData/codegen/box/extensionClasses/typealiasForContextualClass.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class A { val ok = "OK" diff --git a/compiler/testData/codegen/box/extensionClasses/useFromAnotherModule.kt b/compiler/testData/codegen/box/extensionClasses/useFromAnotherModule.kt index e672d85e874..259fd0ab21b 100644 --- a/compiler/testData/codegen/box/extensionClasses/useFromAnotherModule.kt +++ b/compiler/testData/codegen/box/extensionClasses/useFromAnotherModule.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // MODULE: lib // FILE: A.kt diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt index 6095afc6c43..c36e0887336 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported data class MyContainer(var i: Int) diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessOperators.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessOperators.kt index 82231c45f3d..a59dc16d726 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessOperators.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported data class MyContainer(var s: String) diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt index a415b2281db..4827d2147e0 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported data class Result(var i: Int) diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualFunctionConversion.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualFunctionConversion.kt index 2ef5c9f8337..a0939119315 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualFunctionConversion.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualFunctionConversion.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported fun withContext(f: context(String) () -> String) = f("OK") diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt index b4c91a7f2ed..4f7341cee37 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_STDLIB import kotlin.reflect.KProperty diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt index 95f59cbcffa..f5c4f8578de 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported interface Canvas { val suffix: String diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt index eb7443d7e12..a3a73757dd4 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported data class Pair(val first: A, val second: B) diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt index 9d2e63e4419..5151ee6da3e 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME fun List.decimateEveryEvenThird() = sequence { diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt index 9973c7a317a..7c2a39c3b57 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME class View { diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt index b869312df46..484cc2467a7 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class Param class O { diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt index 6c3c3d3cd00..eb6623c1dd5 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME interface Semigroup { diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt index f26345b307d..e27e3519a76 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt index b36ba173afc..3950c842281 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class Result(val x: T) diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt index 49390ed3dff..8beb308074c 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_STDLIB data class Counter(var i: Int = 0) diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt index 4541fd70781..31e4bbf605c 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported context(String, Int) fun overloaded(value: Any?) = "OK" diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt index 051b3662e76..8a492368991 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported context(Int, String) fun foo(): String = "O" diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt index 4a8fc45080b..7e007d88398 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class C { val result = "OK" diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt index c336947f112..7412d09c4be 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME @file:Suppress("RESERVED_VAR_PROPERTY_OF_VALUE_CLASS") diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt index b55b9c9deab..956497f281d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME interface NumberOperations { diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt index 8ebfb7be4d2..bf2d49a040c 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class LoggingCounter { var operationCounter = 0 diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt index d38e78ee083..c3507e2273a 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class A { val o = "O" diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt index 9cee73cb9a8..136cbcdd85d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported class A(val a: T) class B(val b: Any?) diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/unaryOperators.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/unaryOperators.kt index 3615e5a32dd..b168560a976 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/unaryOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/unaryOperators.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported data class Result(val i: Int) diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModule.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModule.kt index ffe4ed54847..463f9db248d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModule.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModule.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // MODULE: lib // FILE: A.kt diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleSuspending.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleSuspending.kt index ab632d10656..02016357353 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleSuspending.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleSuspending.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt index 1182afed054..e7095420b0d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: context receivers aren't yet supported // MODULE: lib // FILE: A.kt diff --git a/compiler/testData/codegen/box/inference/kt49838.kt b/compiler/testData/codegen/box/inference/kt49838.kt index 0c66638ff65..f39d45e4486 100644 --- a/compiler/testData/codegen/box/inference/kt49838.kt +++ b/compiler/testData/codegen/box/inference/kt49838.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// FIR status: UPPER_BOUND_VIOLATED at Service inline fun < reified TService : Service, diff --git a/compiler/testData/codegen/box/sealed/kt49752.kt b/compiler/testData/codegen/box/sealed/kt49752.kt index 4660d3ed040..2574ccc7469 100644 --- a/compiler/testData/codegen/box/sealed/kt49752.kt +++ b/compiler/testData/codegen/box/sealed/kt49752.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR -// FIR status: a new FE 1.0 test, failed with FIR, need to review +// FIR status: several false UPPER_BOUND_VIOLATED are reported abstract class Interpreter where IS : Interpreter.Intermediary,