[FIR] implicit type: avoid redundant property and function transformations
This is a contract violation – we can touch only bodies during this phase ^KT-56551
This commit is contained in:
committed by
Space Team
parent
ddc4fac896
commit
f124ba627d
+1
-1
@@ -10,5 +10,5 @@ enum class FirPropertyBodyResolveState {
|
||||
NOTHING_RESOLVED,
|
||||
INITIALIZER_RESOLVED,
|
||||
INITIALIZER_AND_GETTER_RESOLVED,
|
||||
EVERYTHING_RESOLVED
|
||||
ALL_BODIES_RESOLVED,
|
||||
}
|
||||
+1
-1
@@ -85,7 +85,7 @@ class FirSyntheticProperty(
|
||||
override val attributes: FirDeclarationAttributes = FirDeclarationAttributes()
|
||||
|
||||
override val bodyResolveState: FirPropertyBodyResolveState
|
||||
get() = FirPropertyBodyResolveState.EVERYTHING_RESOLVED
|
||||
get() = FirPropertyBodyResolveState.ALL_BODIES_RESOLVED
|
||||
|
||||
override val contextReceivers: List<FirContextReceiver>
|
||||
get() = emptyList()
|
||||
|
||||
Reference in New Issue
Block a user