From 2a6700e5d50e6e713d56b621918d39a46fcae999 Mon Sep 17 00:00:00 2001 From: "Denis.Zharkov" Date: Thu, 17 Mar 2022 13:28:35 +0300 Subject: [PATCH] FIR: Unignore all blackbox tests on context receivers --- compiler/testData/codegen/box/extensionClasses/edouble.kt | 4 +--- compiler/testData/codegen/box/extensionClasses/simple.kt | 4 +--- .../contextReceivers/arrayAccessCompositeOperators.kt | 2 -- .../contextReceivers/arrayAccessOperators.kt | 4 +--- .../contextReceivers/compoundAssignmentOperators.kt | 2 -- .../contextReceivers/contextualFunctionConversion.kt | 2 -- .../contextReceivers/contextualInlineCall.kt | 5 +---- .../contextReceivers/delegatedPropertiesOperators.kt | 4 +--- .../extensionFunctions/contextReceivers/fromKEEP/canvas.kt | 4 +--- .../contextReceivers/fromKEEP/compareTo.kt | 4 +--- .../contextReceivers/fromKEEP/decimateEveryEvenThird.kt | 4 +--- .../box/extensionFunctions/contextReceivers/fromKEEP/dp.kt | 4 +--- .../contextReceivers/fromKEEP/functionalType.kt | 4 +--- .../contextReceivers/fromKEEP/monoidSum.kt | 4 +--- .../contextReceivers/fromKEEP/structuredConcurrency.kt | 4 +--- .../contextReceivers/inferGenericPropertyType.kt | 4 +--- .../extensionFunctions/contextReceivers/iteratorOperator.kt | 4 +--- .../box/extensionFunctions/contextReceivers/overload.kt | 4 +--- .../box/extensionFunctions/contextReceivers/overloading.kt | 4 +--- .../contextReceivers/passingLambdaToContextualParam.kt | 4 +--- .../box/extensionFunctions/contextReceivers/plusAssign.kt | 4 +--- .../box/extensionFunctions/contextReceivers/plusMatrix.kt | 4 +--- .../contextReceivers/propertyCompoundAssignment.kt | 4 +--- .../box/extensionFunctions/contextReceivers/simpleCall.kt | 4 +--- .../contextReceivers/suspendContextualWithExtension.kt | 4 +--- .../codegen/box/extensionFunctions/contextReceivers/this.kt | 2 -- .../extensionFunctions/contextReceivers/unaryOperators.kt | 2 -- .../contextReceivers/useFromAnotherModule.kt | 2 -- .../contextReceivers/useFromAnotherModuleSuspending.kt | 2 -- .../useFromAnotherModuleWithDefaultParameterValues.kt | 3 --- 30 files changed, 22 insertions(+), 84 deletions(-) diff --git a/compiler/testData/codegen/box/extensionClasses/edouble.kt b/compiler/testData/codegen/box/extensionClasses/edouble.kt index 8a56652f609..095a45da14e 100644 --- a/compiler/testData/codegen/box/extensionClasses/edouble.kt +++ b/compiler/testData/codegen/box/extensionClasses/edouble.kt @@ -1,7 +1,5 @@ // !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) @@ -21,4 +19,4 @@ fun box(): String { eDouble.value = .2 return if (eDouble.value == .2) "OK" else "fail" } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionClasses/simple.kt b/compiler/testData/codegen/box/extensionClasses/simple.kt index 171f78a7cd7..a2d00e0156a 100644 --- a/compiler/testData/codegen/box/extensionClasses/simple.kt +++ b/compiler/testData/codegen/box/extensionClasses/simple.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported class A { val ok = "OK" @@ -14,4 +12,4 @@ class B { fun box() = with(A()) { B().result() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt index c36e0887336..1e640051fd8 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt @@ -1,7 +1,5 @@ // !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 a59dc16d726..7c6ec1d20e9 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessOperators.kt @@ -1,7 +1,5 @@ // !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) @@ -22,4 +20,4 @@ fun box(): String { myContainer[0] = "OK" myContainer[0] ?: "fail" } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt index 4827d2147e0..6e40fe38b91 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt @@ -1,7 +1,5 @@ // !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 a0939119315..ebde7e4619d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualFunctionConversion.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualFunctionConversion.kt @@ -1,7 +1,5 @@ // !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/contextualInlineCall.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualInlineCall.kt index 8d7c2990aac..dee42d8903e 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualInlineCall.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualInlineCall.kt @@ -1,8 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported - // KT-51271 class Context { @@ -36,4 +33,4 @@ fun box(): String = with(Context()) { result += 1.testInlineWithExtensionAndMultipleContextsAndArgs() } return if (result == 23) "OK" else "fail" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt index 4f7341cee37..4622a0f3308 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt @@ -1,7 +1,5 @@ // !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 @@ -34,4 +32,4 @@ fun box(): String { result.s = "OK" val returnValue = result.s return if (operationScore == 2) returnValue else "fail" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt index f5c4f8578de..36ae09e8ed5 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported interface Canvas { val suffix: String @@ -21,4 +19,4 @@ object MyCanvas : Canvas { override val suffix = "" } -fun box() = with(MyCanvas) { Circle().draw() } \ No newline at end of file +fun box() = with(MyCanvas) { Circle().draw() } diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt index a3a73757dd4..0cf7e3a6ced 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt @@ -1,7 +1,5 @@ // !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) @@ -18,4 +16,4 @@ fun box(): String { return with(comparator) { Pair("OK", "fail").min } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt index 021dadadec0..ddb14d9f27e 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported // WITH_STDLIB fun List.decimateEveryEvenThird() = sequence { @@ -16,4 +14,4 @@ fun List.decimateEveryEvenThird() = sequence { fun box() = with(listOf(0, 1, 2).decimateEveryEvenThird()) { if (toList() == listOf(2)) "OK" else "fail" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt index f0e2ab88f97..06dc09c49cc 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported // WITH_STDLIB class View { @@ -17,4 +15,4 @@ fun box(): String { } return "fail" } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt index 484cc2467a7..31534e1fac5 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported class Param class O { @@ -16,4 +14,4 @@ fun K.f(g: context(O) K.(Param) -> T) = g(this@O, this@K, Param()) fun box() = with(O()) { K().f { o + k } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt index 716654739d1..a90dd8afdcc 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported // WITH_STDLIB interface Semigroup { @@ -30,4 +28,4 @@ fun box(): String { return with(StringMonoid) { listOf("O", "K").sum() } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt index 5a8e86b4003..09d751b9114 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported // WITH_STDLIB // WITH_COROUTINES @@ -39,4 +37,4 @@ fun box(): String { return with(MyCoroutineScope) { simpleFlow().launchFlow() } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt index 3950c842281..b28c390959c 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported class Result(val x: T) @@ -18,4 +16,4 @@ fun box(): String { with(Result("OK")) { return x() } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt index 8beb308074c..0a0f62aba1a 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt @@ -1,7 +1,5 @@ // !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) @@ -26,4 +24,4 @@ fun box(): String { } } return if (result == 45) "OK" else "fail" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt index 31e4bbf605c..b8dfea28c94 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt @@ -1,7 +1,5 @@ // !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" @@ -13,4 +11,4 @@ fun box() = with("42") { with(42) { overloaded(null) } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt index 8a492368991..ee84619267c 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt @@ -1,7 +1,5 @@ // !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" @@ -19,4 +17,4 @@ fun box(): String { foo() } return o + k -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt index 7e007d88398..b05b8ff87ac 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported class C { val result = "OK" @@ -9,4 +7,4 @@ class C { fun contextual(f: context(C) () -> String) = f(C()) -fun box(): String = contextual { result } \ No newline at end of file +fun box(): String = contextual { result } diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt index beeff6563e4..ff0666dc988 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported // WITH_STDLIB @file:Suppress("RESERVED_VAR_PROPERTY_OF_VALUE_CLASS") @@ -71,4 +69,4 @@ fun box(): String = with(EntityContext()) { v1.z = 4.0 v1 += v0 if (v1.x == 3.0 && v1.y == 2.0 && v1.z == 7.0) "OK" else "fail" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt index ec736c4f2a2..170717582d1 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported // WITH_STDLIB interface NumberOperations { @@ -50,4 +48,4 @@ fun box(): String { with(DoubleOperations) { return if (m1 + m2 == matrixOf(2, 2, 1.4, 2.3, 3.2, 4.1)) "OK" else "fail" } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt index bf2d49a040c..6d499bb3f7d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported class LoggingCounter { var operationCounter = 0 @@ -31,4 +29,4 @@ fun box(): String { } val operationsTotal = loggingCounter.operationCounter return if (operationsTotal == 5) "OK" else "$operationsTotal" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt index c3507e2273a..ea3a37d0e62 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported class A { val o = "O" @@ -20,4 +18,4 @@ fun B.g(a: A): String { fun box(): String { return B().g(A()) -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/suspendContextualWithExtension.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/suspendContextualWithExtension.kt index 0c6e74c9ca1..16e086355cd 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/suspendContextualWithExtension.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/suspendContextualWithExtension.kt @@ -1,9 +1,7 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR // WITH_COROUTINES // WITH_STDLIB -// FIR status: context receivers aren't yet supported import helpers.* import kotlin.coroutines.* @@ -36,4 +34,4 @@ fun box(): String { } return result -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt index 136cbcdd85d..664978a9e79 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt @@ -1,7 +1,5 @@ // !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 b168560a976..99f1f239236 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/unaryOperators.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/unaryOperators.kt @@ -1,7 +1,5 @@ // !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 185da7603fc..b846f98cafd 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModule.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModule.kt @@ -1,7 +1,5 @@ // !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 64ecbe38d4c..ffc3579130d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleSuspending.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleSuspending.kt @@ -1,7 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt index e7095420b0d..52744a9c7ab 100644 --- a/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt +++ b/compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt @@ -1,8 +1,5 @@ // !LANGUAGE: +ContextReceivers // TARGET_BACKEND: JVM_IR -// IGNORE_BACKEND_FIR: JVM_IR -// FIR status: context receivers aren't yet supported - // MODULE: lib // FILE: A.kt