[FIR] Add forgotten replacing resolve phase during type resolve

This commit is contained in:
Dmitriy Novozhilov
2020-10-02 11:43:23 +03:00
committed by Mikhail Glukhikh
parent 1f5797e929
commit 5fbe715871
@@ -51,6 +51,7 @@ abstract class FirAbstractTreeTransformerWithSuperTypes(
firClass: FirClass<*>,
data: Nothing?
): CompositeTransformResult<FirStatement> {
firClass.replaceResolvePhase(transformerPhase)
return withScopeCleanup {
// Otherwise annotations may try to resolve
// themselves as inner classes of the `firClass`