[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:
committed by
Space Team
parent
58fca659a2
commit
500016df87
-1
@@ -27,7 +27,6 @@ internal object DeclarationCopyBuilder {
|
|||||||
declarations.addAll(classWithBody.declarations)
|
declarations.addAll(classWithBody.declarations)
|
||||||
symbol = classWithBody.symbol
|
symbol = classWithBody.symbol
|
||||||
initDeclaration(this@withBodyFrom, classWithBody)
|
initDeclaration(this@withBodyFrom, classWithBody)
|
||||||
resolvePhase = minOf(this.resolvePhase, FirResolvePhase.IMPORTS) //TODO move into initDeclaration?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun FirScript.withBodyFrom(
|
fun FirScript.withBodyFrom(
|
||||||
|
|||||||
Reference in New Issue
Block a user