diff --git a/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/context/PersistentImplicitReceiverStack.kt b/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/context/PersistentImplicitReceiverStack.kt index 121f3176fce..6a893db1015 100644 --- a/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/context/PersistentImplicitReceiverStack.kt +++ b/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/context/PersistentImplicitReceiverStack.kt @@ -51,6 +51,10 @@ class PersistentImplicitReceiverStack private constructor( return stack.filterIsInstance().lastOrNull() } + override fun lastDispatchReceiver(lookupCondition: (ImplicitReceiverValue<*>) -> Boolean): ImplicitDispatchReceiverValue? { + return stack.filterIsInstance().lastOrNull(lookupCondition) + } + override fun receiversAsReversed(): List> = stack.asReversed() override operator fun iterator(): Iterator> { diff --git a/compiler/fir/cones/src/org/jetbrains/kotlin/fir/symbols/CallableId.kt b/compiler/fir/cones/src/org/jetbrains/kotlin/fir/symbols/CallableId.kt index 25afe928499..dfe3cc2e2dd 100644 --- a/compiler/fir/cones/src/org/jetbrains/kotlin/fir/symbols/CallableId.kt +++ b/compiler/fir/cones/src/org/jetbrains/kotlin/fir/symbols/CallableId.kt @@ -11,9 +11,17 @@ import org.jetbrains.kotlin.name.Name // NB: with className == null we are at top level data class CallableId(val packageName: FqName, val className: FqName?, val callableName: Name) { - val classId: ClassId? get() = className?.let { ClassId(packageName, it, false) } + var classId: ClassId? = null + get() { + if (field == null && className != null) { + field = ClassId(packageName, className, false) + } + return field + } - constructor(classId: ClassId, callableName: Name) : this(classId.packageFqName, classId.relativeClassName, callableName) + constructor(classId: ClassId, callableName: Name) : this(classId.packageFqName, classId.relativeClassName, callableName) { + this.classId = classId + } constructor(packageName: FqName, callableName: Name) : this(packageName, null, callableName) diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt index b7e160b642c..f2acb6f3146 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt @@ -338,7 +338,8 @@ internal class CallAndReferenceGenerator( // Object case val callableReference = calleeReference as? FirResolvedNamedReference val ownerClassId = (callableReference?.resolvedSymbol as? FirCallableSymbol<*>)?.callableId?.classId - val ownerClassSymbol = ownerClassId?.let { session.firSymbolProvider.getClassLikeSymbolByFqName(it) } + val ownerClassSymbol = + ownerClassId?.takeUnless { it.isLocal }?.let { session.firSymbolProvider.getClassLikeSymbolByFqName(it) } val firClass = (ownerClassSymbol?.fir as? FirClass)?.takeIf { it is FirAnonymousObject || it is FirRegularClass && it.classKind == ClassKind.OBJECT } diff --git a/compiler/fir/raw-fir/fir-common/src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt b/compiler/fir/raw-fir/fir-common/src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt index 34528582e63..013e590ea91 100644 --- a/compiler/fir/raw-fir/fir-common/src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt +++ b/compiler/fir/raw-fir/fir-common/src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt @@ -21,6 +21,7 @@ import org.jetbrains.kotlin.fir.expressions.impl.buildSingleExpressionBlock import org.jetbrains.kotlin.fir.references.FirReference import org.jetbrains.kotlin.fir.references.builder.* import org.jetbrains.kotlin.fir.symbols.CallableId +import org.jetbrains.kotlin.fir.symbols.impl.ANONYMOUS_CLASS_ID import org.jetbrains.kotlin.fir.symbols.impl.FirErrorFunctionSymbol import org.jetbrains.kotlin.fir.symbols.impl.FirNamedFunctionSymbol import org.jetbrains.kotlin.fir.symbols.impl.FirTypeParameterSymbol @@ -35,8 +36,6 @@ import org.jetbrains.kotlin.lexer.KtTokens.OPEN_QUOTE import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.parsing.* -import org.jetbrains.kotlin.psi.KtClassOrObject -import org.jetbrains.kotlin.psi.KtUnaryExpression import org.jetbrains.kotlin.util.OperatorNameConventions //T can be either PsiElement, or LighterASTNode @@ -73,7 +72,7 @@ abstract class BaseFirBuilder(val baseSession: FirSession, val context: Conte when { local -> CallableId(name) context.className == FqName.ROOT -> CallableId(context.packageFqName, name) - context.className.shortName() === ANONYMOUS_OBJECT_NAME -> CallableId(FqName.ROOT, FqName("anonymous"), name) + context.className.shortName() === ANONYMOUS_OBJECT_NAME -> CallableId(ANONYMOUS_CLASS_ID, name) else -> CallableId(context.packageFqName, context.className, name) } diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/ImplicitReceiverStack.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/ImplicitReceiverStack.kt index 949ad93989f..7896c1b0802 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/ImplicitReceiverStack.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/ImplicitReceiverStack.kt @@ -19,6 +19,7 @@ abstract class ImplicitReceiverStack : Iterable> { abstract operator fun get(name: String?): ImplicitReceiverValue<*>? abstract fun lastDispatchReceiver(): ImplicitDispatchReceiverValue? + abstract fun lastDispatchReceiver(lookupCondition: (ImplicitReceiverValue<*>) -> Boolean): ImplicitDispatchReceiverValue? abstract fun receiversAsReversed(): List> } @@ -75,6 +76,10 @@ class ImplicitReceiverStackImpl private constructor( return stack.filterIsInstance().lastOrNull() } + override fun lastDispatchReceiver(lookupCondition: (ImplicitReceiverValue<*>) -> Boolean): ImplicitDispatchReceiverValue? { + return stack.filterIsInstance().lastOrNull(lookupCondition) + } + override fun receiversAsReversed(): List> = stack.asReversed() fun getReceiverIndex(symbol: FirBasedSymbol<*>): Int? = indexesPerSymbol[symbol] diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/TowerLevels.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/TowerLevels.kt index db9fec9002f..244f2fa43f7 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/TowerLevels.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/TowerLevels.kt @@ -15,6 +15,7 @@ import org.jetbrains.kotlin.fir.scopes.ProcessorAction import org.jetbrains.kotlin.fir.scopes.impl.FirAbstractImportingScope import org.jetbrains.kotlin.fir.symbols.AbstractFirBasedSymbol import org.jetbrains.kotlin.fir.symbols.impl.* +import org.jetbrains.kotlin.fir.types.classId import org.jetbrains.kotlin.fir.types.ConeKotlinType import org.jetbrains.kotlin.fir.types.ConeNullability import org.jetbrains.kotlin.fir.types.withNullability @@ -190,8 +191,18 @@ class ScopeTowerLevel( empty = false if (candidate.hasConsistentReceivers(extensionReceiver)) { val dispatchReceiverValue = - if (candidate !is FirBackingFieldSymbol) null - else bodyResolveComponents.implicitReceiverStack.lastDispatchReceiver() + when { + candidate !is FirBackingFieldSymbol -> null + candidate.callableId.classId != null -> { + val propertyHolderId = candidate.callableId.classId + bodyResolveComponents.implicitReceiverStack.lastDispatchReceiver { implicitReceiverValue -> + implicitReceiverValue.type.classId == propertyHolderId + } + } + else -> { + bodyResolveComponents.implicitReceiverStack.lastDispatchReceiver() + } + } processor.consumeCandidate( candidate as T, dispatchReceiverValue, implicitExtensionReceiverValue = extensionReceiver as? ImplicitReceiverValue<*> diff --git a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/symbols/impl/FirClassLikeSymbol.kt b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/symbols/impl/FirClassLikeSymbol.kt index 2bdb2f2c523..e9e178c9374 100644 --- a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/symbols/impl/FirClassLikeSymbol.kt +++ b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/symbols/impl/FirClassLikeSymbol.kt @@ -27,7 +27,9 @@ sealed class FirClassSymbol>(classId: ClassId) : FirClassLikeSym class FirRegularClassSymbol(classId: ClassId) : FirClassSymbol(classId) -class FirAnonymousObjectSymbol : FirClassSymbol(ClassId(FqName.ROOT, FqName("anonymous"), true)) +val ANONYMOUS_CLASS_ID = ClassId(FqName.ROOT, FqName("anonymous"), true) + +class FirAnonymousObjectSymbol : FirClassSymbol(ANONYMOUS_CLASS_ID) class FirTypeAliasSymbol(classId: ClassId) : FirClassLikeSymbol(classId) { override fun toLookupTag() = ConeClassLikeLookupTagImpl(classId) diff --git a/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt b/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt index 4ea39562fb8..e653f8f0574 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class Outer { val result = "OK" diff --git a/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt b/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt index 925a273bdac..60f1d9f24c1 100644 --- a/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt +++ b/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class World() { diff --git a/compiler/testData/codegen/box/classes/inner/instantiateInDerived.kt b/compiler/testData/codegen/box/classes/inner/instantiateInDerived.kt index 002eec129c2..2f928428baf 100644 --- a/compiler/testData/codegen/box/classes/inner/instantiateInDerived.kt +++ b/compiler/testData/codegen/box/classes/inner/instantiateInDerived.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class A(val value: String) { inner class B(val s: String) { val result = value + "_" + s diff --git a/compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt b/compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt index 0dac6ff6bc7..bc6200c60c5 100644 --- a/compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt +++ b/compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class C(val value: String = "C") { inner class B(val s: String) { diff --git a/compiler/testData/codegen/box/classes/innerClass.kt b/compiler/testData/codegen/box/classes/innerClass.kt index e80ea7cb118..ef36d624b1c 100644 --- a/compiler/testData/codegen/box/classes/innerClass.kt +++ b/compiler/testData/codegen/box/classes/innerClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME class Outer(val foo: StringBuilder) { inner class Inner() { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt index df73c3dbe2f..8bb36a828c9 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Foo(val x: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt index d92f997880d..21f2ddab94c 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt index 35f01752346..4d5b5a259cf 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt index e69dee4a628..37f31ada1a1 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt index ed1bc3e2a1c..b9d634b53e1 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Foo(val x: () -> String) open class Foo2(val foo: Foo) diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt index 80534c16a8b..d64208612bc 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Base(val callback: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt index 726a934005b..af592a9d48a 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface Callback { fun invoke(): String } diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt index 7bd5bb8e0b1..da9afc36cd3 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface Callback { fun invoke(): String } diff --git a/compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt b/compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt index fb941138153..01167805ef4 100644 --- a/compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt +++ b/compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class A { private fun Int.foo(other: Int = 5): Int = this + other diff --git a/compiler/testData/codegen/box/enum/kt7257_boundReference2.kt b/compiler/testData/codegen/box/enum/kt7257_boundReference2.kt index f01231e7a4c..e34bc6403ba 100644 --- a/compiler/testData/codegen/box/enum/kt7257_boundReference2.kt +++ b/compiler/testData/codegen/box/enum/kt7257_boundReference2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR enum class X { B { diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorForFunctionWithMangledName.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorForFunctionWithMangledName.kt index 7273674e228..84e306b8a1f 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorForFunctionWithMangledName.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorForFunctionWithMangledName.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorsForPropertyOfInlineClassType.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorsForPropertyOfInlineClassType.kt index 566b78a22a7..341bfafcef5 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorsForPropertyOfInlineClassType.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorsForPropertyOfInlineClassType.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/innerClassConstructor.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/innerClassConstructor.kt index d2c40c54712..171b43dbd47 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/innerClassConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/innerClassConstructor.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR inline class S(val string: String) diff --git a/compiler/testData/codegen/box/inlineClasses/kt27705.kt b/compiler/testData/codegen/box/inlineClasses/kt27705.kt index 64d82ca1545..49ba36aa170 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt27705.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt27705.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) { diff --git a/compiler/testData/codegen/box/inlineClasses/kt27706.kt b/compiler/testData/codegen/box/inlineClasses/kt27706.kt index 8159f74275c..3ef3ea87971 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt27706.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt27706.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +InlineClasses -// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME inline class Z(val x: Int) { diff --git a/compiler/testData/codegen/box/ir/closureConversion/innerClass1.kt b/compiler/testData/codegen/box/ir/closureConversion/innerClass1.kt index 3e14f7310b6..bdb37488833 100644 --- a/compiler/testData/codegen/box/ir/closureConversion/innerClass1.kt +++ b/compiler/testData/codegen/box/ir/closureConversion/innerClass1.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class Outer { val x = "O" inner class Inner { diff --git a/compiler/testData/codegen/box/ir/closureConversion/innerClass2.kt b/compiler/testData/codegen/box/ir/closureConversion/innerClass2.kt index 8efad670bb6..064bb4623e6 100644 --- a/compiler/testData/codegen/box/ir/closureConversion/innerClass2.kt +++ b/compiler/testData/codegen/box/ir/closureConversion/innerClass2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class Outer(val x: String) { inner class Inner(val y: String) { val z = x + y diff --git a/compiler/testData/codegen/box/objects/kt1136.kt b/compiler/testData/codegen/box/objects/kt1136.kt index 93b56bdb5a2..9caf5855971 100644 --- a/compiler/testData/codegen/box/objects/kt1136.kt +++ b/compiler/testData/codegen/box/objects/kt1136.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM public object SomeObject { diff --git a/compiler/testData/codegen/box/properties/classFieldInsideLocalInSetter.kt b/compiler/testData/codegen/box/properties/classFieldInsideLocalInSetter.kt index 20898b130f4..e6e1c9f17f4 100644 --- a/compiler/testData/codegen/box/properties/classFieldInsideLocalInSetter.kt +++ b/compiler/testData/codegen/box/properties/classFieldInsideLocalInSetter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class My { var my: String = "U" get() = { field }() diff --git a/compiler/testData/codegen/box/properties/classFieldInsideNested.kt b/compiler/testData/codegen/box/properties/classFieldInsideNested.kt index 858bbbe4832..0ac00ddb630 100644 --- a/compiler/testData/codegen/box/properties/classFieldInsideNested.kt +++ b/compiler/testData/codegen/box/properties/classFieldInsideNested.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR abstract class Your { abstract val your: String