[FIR] Get rid of all conditional reads of FirDeclaration.resolvePhase
This commit is contained in:
+4
@@ -59,6 +59,10 @@ internal object DeclarationCopyBuilder {
|
||||
getter = propertyWithBody.getter
|
||||
setter = copySetter
|
||||
|
||||
if (propertyResolvePhase < FirResolvePhase.IMPLICIT_TYPES_BODY_RESOLVE) {
|
||||
initializerAndAccessorsAreResolved = false
|
||||
}
|
||||
|
||||
initDeclaration(this@withBodyFrom, propertyWithBody)
|
||||
resolvePhase = propertyResolvePhase
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user