[LL FIR] fix lazy resolve of FirDefaultPropertyAccessor
FirDefaultPropertyAccessor was hardcoded and thus lazy resolution was not able to update it after resolution
This commit is contained in:
+1
-5
@@ -43,7 +43,7 @@ abstract class FirDefaultPropertyAccessor(
|
||||
) : FirPropertyAccessorImpl(
|
||||
source,
|
||||
moduleData,
|
||||
resolvePhase = if (effectiveVisibility != null) FirResolvePhase.BODY_RESOLVE else FirResolvePhase.TYPES,
|
||||
resolvePhase = FirResolvePhase.RAW_FIR,
|
||||
origin,
|
||||
FirDeclarationAttributes(),
|
||||
status = if (effectiveVisibility == null)
|
||||
@@ -64,10 +64,6 @@ abstract class FirDefaultPropertyAccessor(
|
||||
annotations = mutableListOf(),
|
||||
typeParameters = mutableListOf(),
|
||||
) {
|
||||
override var resolvePhase
|
||||
get() = if (status is FirResolvedDeclarationStatus) FirResolvePhase.BODY_RESOLVE else FirResolvePhase.TYPES
|
||||
set(_) {}
|
||||
|
||||
override val dispatchReceiverType: ConeSimpleKotlinType?
|
||||
get() = propertySymbol?.dispatchReceiverType
|
||||
|
||||
|
||||
Reference in New Issue
Block a user