[LL FIR] do not drop resolvePhase for recreated class

Because now all phases below DECLARATIONS do not depend on the class
declarations

^KT-56551
This commit is contained in:
Dmitrii Gridin
2023-05-18 15:39:43 +02:00
committed by Space Team
parent 58fca659a2
commit 500016df87
@@ -27,7 +27,6 @@ internal object DeclarationCopyBuilder {
declarations.addAll(classWithBody.declarations)
symbol = classWithBody.symbol
initDeclaration(this@withBodyFrom, classWithBody)
resolvePhase = minOf(this.resolvePhase, FirResolvePhase.IMPORTS) //TODO move into initDeclaration?
}
fun FirScript.withBodyFrom(