FIR IDE: run completion resolve under lock
This commit is contained in:
+12
-10
@@ -100,16 +100,18 @@ internal class FirModuleResolveStateImpl(
|
|||||||
toPhase: FirResolvePhase,
|
toPhase: FirResolvePhase,
|
||||||
towerDataContextCollector: FirTowerDataContextCollector
|
towerDataContextCollector: FirTowerDataContextCollector
|
||||||
) {
|
) {
|
||||||
firLazyDeclarationResolver.runLazyResolveWithoutLock(
|
firFileBuilder.runCustomResolveWithPCECheck(containerFirFile, rootModuleSession.cache) {
|
||||||
firFunction,
|
firLazyDeclarationResolver.runLazyResolveWithoutLock(
|
||||||
rootModuleSession.cache,
|
firFunction,
|
||||||
containerFirFile,
|
rootModuleSession.cache,
|
||||||
firIdeProvider,
|
containerFirFile,
|
||||||
fromPhase = firFunction.resolvePhase,
|
firIdeProvider,
|
||||||
toPhase,
|
fromPhase = firFunction.resolvePhase,
|
||||||
towerDataContextCollector,
|
toPhase,
|
||||||
checkPCE = false
|
towerDataContextCollector,
|
||||||
)
|
checkPCE = true
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user