[FIR] Resolve imports before plugin annotation phase

This is needed to correctly resolve imported annotations from plugins
This commit is contained in:
Dmitriy Novozhilov
2021-10-25 12:58:27 +03:00
committed by teamcityserver
parent 9948ba57c0
commit 307fa66dda
@@ -7,9 +7,9 @@ package org.jetbrains.kotlin.fir.declarations
enum class FirResolvePhase(val pluginPhase: Boolean = false, val noProcessor: Boolean = false) {
RAW_FIR(noProcessor = true),
IMPORTS,
ANNOTATIONS_FOR_PLUGINS(pluginPhase = true),
COMPANION_GENERATION(pluginPhase = true),
IMPORTS,
SUPER_TYPES,
SEALED_CLASS_INHERITORS,
TYPES,