[FIR IDE] Code review minor changes

This commit is contained in:
Igor Yakovlev
2021-07-22 14:46:11 +02:00
parent 4eb534e39b
commit 02f2f6c148
8 changed files with 41 additions and 78 deletions
@@ -10,5 +10,6 @@ import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
import org.jetbrains.kotlin.fir.symbols.FirPhaseManager
object FirPhaseCheckingPhaseManager : FirPhaseManager() {
override fun ensureResolved(symbol: FirBasedSymbol<*>, requiredPhase: FirResolvePhase) = Unit
override fun ensureResolved(symbol: FirBasedSymbol<*>, requiredPhase: FirResolvePhase) {
}
}
@@ -71,7 +71,6 @@ class FirStatusResolver(
val scope = containingClass.unsubstitutedScope(session, scopeSession, withForcedTypeCalculator = false)
scope.processPropertiesByName(property.name) {}
scope.processDirectOverriddenPropertiesWithBaseScope(property.symbol) { symbol, _ ->
symbol.ensureResolved(FirResolvePhase.STATUS)
this += symbol.fir
ProcessorAction.NEXT
}