diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrConversionScope.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrConversionScope.kt index 1c1f7f3cee5..9b8db583620 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrConversionScope.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrConversionScope.kt @@ -77,15 +77,17 @@ class Fir2IrConversionScope { fun parent(): IrDeclarationParent? = parentStack.lastOrNull() fun lastDispatchReceiverParameter(): IrValueParameter? { - val dispatchReceiver = functionStack.lastOrNull()?.dispatchReceiverParameter - return if (dispatchReceiver != null) { - // Use the dispatch receiver of the containing function - dispatchReceiver - } else { - val lastClassSymbol = classStack.lastOrNull()?.symbol - // Use the dispatch receiver of the containing class - lastClassSymbol?.owner?.thisReceiver - } + var dispatchReceiver = functionStack.lastOrNull()?.dispatchReceiverParameter + // Use the dispatch receiver of the containing function + dispatchReceiver?.let { return it } + + // Use the dispatch receiver of the enclosing function if any + dispatchReceiver = functionStack.elementAtOrNull(functionStack.size - 2)?.dispatchReceiverParameter + dispatchReceiver?.let { return it } + + // Use the dispatch receiver of the containing class + val lastClassSymbol = classStack.lastOrNull()?.symbol + return lastClassSymbol?.owner?.thisReceiver } fun lastClass(): IrClass? = classStack.lastOrNull() diff --git a/compiler/testData/codegen/box/casts/functions/isFunKBig.kt b/compiler/testData/codegen/box/casts/functions/isFunKBig.kt index 1e741f608dc..f00dbbc3cce 100644 --- a/compiler/testData/codegen/box/casts/functions/isFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/isFunKBig.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt index d1431cd0e31..96d88a122f5 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class C(val f: () -> String) class B(val x: String) { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerAndLocalCapturedInLocalClass.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerAndLocalCapturedInLocalClass.kt index 4531cc901f1..86edb054282 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerAndLocalCapturedInLocalClass.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerAndLocalCapturedInLocalClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR abstract class Base(val fn: () -> String) open class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt index 60fce67fe13..e4b5cc768e2 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR abstract class Base(val fn: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/enclosingThis.kt b/compiler/testData/codegen/box/closures/enclosingThis.kt index 8593abc24fe..787a4d89e4a 100644 --- a/compiler/testData/codegen/box/closures/enclosingThis.kt +++ b/compiler/testData/codegen/box/closures/enclosingThis.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class Point(val x:Int, val y:Int) { fun mul() : (scalar:Int)->Point { return { scalar:Int -> Point(x * scalar, y * scalar) } diff --git a/compiler/testData/codegen/box/defaultArguments/protected.kt b/compiler/testData/codegen/box/defaultArguments/protected.kt index bd3b819fd68..be1243f96c6 100644 --- a/compiler/testData/codegen/box/defaultArguments/protected.kt +++ b/compiler/testData/codegen/box/defaultArguments/protected.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // FILE: Foo.kt package foo diff --git a/compiler/testData/codegen/box/defaultArguments/useThisInLambda.kt b/compiler/testData/codegen/box/defaultArguments/useThisInLambda.kt index 5fa8e51104d..b2f4da36637 100644 --- a/compiler/testData/codegen/box/defaultArguments/useThisInLambda.kt +++ b/compiler/testData/codegen/box/defaultArguments/useThisInLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class X { fun g(x: () -> Boolean = { super.equals(this) }) = x() } diff --git a/compiler/testData/codegen/box/extensionFunctions/kt3285.kt b/compiler/testData/codegen/box/extensionFunctions/kt3285.kt index 2381ca3004f..2874bcdb2e8 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt3285.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt3285.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR var sayResult = "" class NoiseMaker { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt3298.kt b/compiler/testData/codegen/box/extensionFunctions/kt3298.kt index 55ee4ab34ad..d0f83531a69 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt3298.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt3298.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR var result = "" fun result(r: String) { result = r } diff --git a/compiler/testData/codegen/box/functions/invoke/kt3190.kt b/compiler/testData/codegen/box/functions/invoke/kt3190.kt index d5226fcc172..f536d901cae 100644 --- a/compiler/testData/codegen/box/functions/invoke/kt3190.kt +++ b/compiler/testData/codegen/box/functions/invoke/kt3190.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR //KT-3190 Compiler crash if function called 'invoke' calls a closure // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromLambda.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromLambda.kt index 2e115c897b9..ace1994d15b 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromLambda.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromLambda.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class Composed(val s: String) { diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda.kt index 1fbcf3300d9..a0b031aa46d 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Int) { fun test() = { ok() }() diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda2.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda2.kt index 07eb7fc2be4..d6553d5f859 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda2.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda2.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Long) { fun test() = { ok() }() diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda.kt index d27c7dea77e..c8a4c240204 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Int) { fun test() = { ok() }() diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda2.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda2.kt index eda6e3c369b..ed1aecda605 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda2.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda2.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class R(private val r: Long) { fun test() = { ok() }() diff --git a/compiler/testData/codegen/box/inlineClasses/kt27140.kt b/compiler/testData/codegen/box/inlineClasses/kt27140.kt index 0640f1fa05c..ac4581f86ee 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt27140.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt27140.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(private val i: Int) { diff --git a/compiler/testData/codegen/box/jvm8/defaults/accessor.kt b/compiler/testData/codegen/box/jvm8/defaults/accessor.kt index 12880bee499..c6bcff77dec 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/accessor.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/accessor.kt @@ -1,5 +1,4 @@ // !JVM_DEFAULT_MODE: enable -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvm8/defaults/accessorsFromDefaultImpls.kt b/compiler/testData/codegen/box/jvm8/defaults/accessorsFromDefaultImpls.kt index 105eaf48fe1..7973d8e6b39 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/accessorsFromDefaultImpls.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/accessorsFromDefaultImpls.kt @@ -1,5 +1,4 @@ // !JVM_DEFAULT_MODE: enable -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvmField/captureClassFields.kt b/compiler/testData/codegen/box/jvmField/captureClassFields.kt index 52f70363306..3402e5f6784 100644 --- a/compiler/testData/codegen/box/jvmField/captureClassFields.kt +++ b/compiler/testData/codegen/box/jvmField/captureClassFields.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvmStatic/closure.kt b/compiler/testData/codegen/box/jvmStatic/closure.kt index ad5badd2484..9cc29b7e1b3 100644 --- a/compiler/testData/codegen/box/jvmStatic/closure.kt +++ b/compiler/testData/codegen/box/jvmStatic/closure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvmStatic/kt21246.kt b/compiler/testData/codegen/box/jvmStatic/kt21246.kt index d4f7c870a92..7c8504f9904 100644 --- a/compiler/testData/codegen/box/jvmStatic/kt21246.kt +++ b/compiler/testData/codegen/box/jvmStatic/kt21246.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/jvmStatic/kt21246a.kt b/compiler/testData/codegen/box/jvmStatic/kt21246a.kt index 6a7f3380330..2c188e8dfd3 100644 --- a/compiler/testData/codegen/box/jvmStatic/kt21246a.kt +++ b/compiler/testData/codegen/box/jvmStatic/kt21246a.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt b/compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt index 5c881fe5791..3cae7289280 100644 --- a/compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt +++ b/compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun box(): String { var log = "" diff --git a/compiler/testData/codegen/box/nonLocalReturns/kt6895.kt b/compiler/testData/codegen/box/nonLocalReturns/kt6895.kt index b51c1120190..4e6fb1160a6 100644 --- a/compiler/testData/codegen/box/nonLocalReturns/kt6895.kt +++ b/compiler/testData/codegen/box/nonLocalReturns/kt6895.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117.kt b/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117.kt index d0f6ba39af2..eb3f1278041 100644 --- a/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117.kt +++ b/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField -// IGNORE_BACKEND_FIR: JVM_IR inline fun on(body: () -> Any) = body().toString() diff --git a/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv12.kt b/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv12.kt index a3750bfa19e..905f5289624 100644 --- a/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv12.kt +++ b/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv12.kt @@ -1,5 +1,4 @@ // !LANGUAGE: -ProperVisibilityForCompanionObjectInstanceField -// IGNORE_BACKEND_FIR: JVM_IR inline fun on(body: () -> Any) = body().toString() diff --git a/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv13.kt b/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv13.kt index b2b96507352..4298dab2761 100644 --- a/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv13.kt +++ b/compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv13.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR inline fun on(body: () -> Any) = body().toString() class A { diff --git a/compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt b/compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt index a2f5fbfd46e..a791f7207c7 100644 --- a/compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt +++ b/compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // See KT-14999 object Obj { diff --git a/compiler/testData/codegen/box/properties/classFieldInsideLambda.kt b/compiler/testData/codegen/box/properties/classFieldInsideLambda.kt index c9d23bd775f..121ac3426b4 100644 --- a/compiler/testData/codegen/box/properties/classFieldInsideLambda.kt +++ b/compiler/testData/codegen/box/properties/classFieldInsideLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class My { val my: String = "O" get() = { field }() + "K" diff --git a/compiler/testData/codegen/box/properties/kt2331.kt b/compiler/testData/codegen/box/properties/kt2331.kt index 00506de05bf..a96dd67bf6d 100644 --- a/compiler/testData/codegen/box/properties/kt2331.kt +++ b/compiler/testData/codegen/box/properties/kt2331.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class P { var x : Int = 0 private set diff --git a/compiler/testData/codegen/box/properties/kt2892.kt b/compiler/testData/codegen/box/properties/kt2892.kt index 36462ef2604..816b11009d7 100644 --- a/compiler/testData/codegen/box/properties/kt2892.kt +++ b/compiler/testData/codegen/box/properties/kt2892.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class A class B : A() { fun foo() = 1 diff --git a/compiler/testData/codegen/box/properties/kt9603.kt b/compiler/testData/codegen/box/properties/kt9603.kt index d5ffe2c8183..ddbabfcc99b 100644 --- a/compiler/testData/codegen/box/properties/kt9603.kt +++ b/compiler/testData/codegen/box/properties/kt9603.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class A { public var prop = "OK" private set diff --git a/compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt b/compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt index fe9fb8aa37b..9a9e186c8de 100644 --- a/compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt +++ b/compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class A( private val x: String, private var y: Double diff --git a/compiler/testData/codegen/box/properties/privatePropertyWithoutBackingField.kt b/compiler/testData/codegen/box/properties/privatePropertyWithoutBackingField.kt index dcfdc1a5e39..e03074deaa0 100644 --- a/compiler/testData/codegen/box/properties/privatePropertyWithoutBackingField.kt +++ b/compiler/testData/codegen/box/properties/privatePropertyWithoutBackingField.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class Test { private var i : Int get() = 1 diff --git a/compiler/testData/codegen/box/properties/protectedJavaProperty.kt b/compiler/testData/codegen/box/properties/protectedJavaProperty.kt index d4239022465..abc0e2d7edb 100644 --- a/compiler/testData/codegen/box/properties/protectedJavaProperty.kt +++ b/compiler/testData/codegen/box/properties/protectedJavaProperty.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/protectedJavaPropertyInCompanion.kt b/compiler/testData/codegen/box/properties/protectedJavaPropertyInCompanion.kt index ef04fe037b9..358e03a395e 100644 --- a/compiler/testData/codegen/box/properties/protectedJavaPropertyInCompanion.kt +++ b/compiler/testData/codegen/box/properties/protectedJavaPropertyInCompanion.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt10934.kt b/compiler/testData/codegen/box/regressions/kt10934.kt index ae633f539ac..bbc549b99c4 100644 --- a/compiler/testData/codegen/box/regressions/kt10934.kt +++ b/compiler/testData/codegen/box/regressions/kt10934.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR //KT-10934 compiler throws UninferredParameterTypeConstructor in when block that covers all types class Parser(val f: (TInput) -> Result) { diff --git a/compiler/testData/codegen/box/regressions/kt1406.kt b/compiler/testData/codegen/box/regressions/kt1406.kt index 5145a041464..171a734bec8 100644 --- a/compiler/testData/codegen/box/regressions/kt1406.kt +++ b/compiler/testData/codegen/box/regressions/kt1406.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/super/kt4173.kt b/compiler/testData/codegen/box/super/kt4173.kt index fa5f29c6d5c..12ca4f5c6ee 100644 --- a/compiler/testData/codegen/box/super/kt4173.kt +++ b/compiler/testData/codegen/box/super/kt4173.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class C(val f: () -> Unit) { fun test() { f() diff --git a/compiler/testData/codegen/box/super/kt4173_2.kt b/compiler/testData/codegen/box/super/kt4173_2.kt index 25a398da0f9..3bc81264f0c 100644 --- a/compiler/testData/codegen/box/super/kt4173_2.kt +++ b/compiler/testData/codegen/box/super/kt4173_2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class X(var s: ()-> Unit) open class C(val f: X) { diff --git a/compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt b/compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt index 7890a8a2743..6250b18d1ce 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // FILE: 1.kt import b.B diff --git a/compiler/testData/codegen/box/syntheticAccessors/inline.kt b/compiler/testData/codegen/box/syntheticAccessors/inline.kt index d8b5ff9c85f..32a562d29e7 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/inline.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/inline.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class A { fun foo() = o_plus_f_plus_k {""} diff --git a/compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt b/compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt index 327f69bd913..9664410fb44 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class A { private inline fun f() = g() private fun g() = "OK" diff --git a/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt b/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt index a147fc912d6..951d2ead0c9 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class Foo { private val fld: String = "O" get() = { field }() + "K" diff --git a/compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt b/compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt index 188e20a2eb0..df6d81ce1d2 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class Foo { private val fld: String = "O" get() = { field }() + "K" diff --git a/compiler/testData/codegen/box/traits/kt36973.kt b/compiler/testData/codegen/box/traits/kt36973.kt index a954e90ec7d..fbec9afb53f 100644 --- a/compiler/testData/codegen/box/traits/kt36973.kt +++ b/compiler/testData/codegen/box/traits/kt36973.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // FILE: kt36973.kt import other.*