[LL] always get fir from decompiled stubs
This commit is contained in:
+3
@@ -94,6 +94,9 @@ internal abstract class LLFirResolvableResolveSession(
|
||||
ktDeclaration: KtDeclaration,
|
||||
phase: FirResolvePhase
|
||||
): FirBasedSymbol<*> {
|
||||
if (ktDeclaration.containingKtFile.isCompiled) {
|
||||
return findFirCompiledSymbol(ktDeclaration)
|
||||
}
|
||||
val module = ktDeclaration.getKtModule()
|
||||
return when (getModuleKind(module)) {
|
||||
ModuleKind.RESOLVABLE_MODULE -> findSourceFirSymbol(ktDeclaration, module).also { resolveFirToPhase(it.fir, phase) }
|
||||
|
||||
Reference in New Issue
Block a user