[LL] Register default components for binary library sessions

- This was missed during the refactoring made by 46d5d512, which removed
  `registerDefaultComponents` calls from platform-specific session
  factories (including binary library session creation).
- Unfortunately, this doesn't fix KT-65563, which has also appeared
  recently and I thought might be related.

^KT-66173 fixed
This commit is contained in:
Marco Pennekamp
2024-02-05 18:56:42 +01:00
committed by Space Team
parent 45d544c139
commit f1ed07d3bb
@@ -440,6 +440,7 @@ internal abstract class LLFirAbstractSessionFactory(protected val project: Proje
register(FirLazyDeclarationResolver::class, FirDummyCompilerLazyDeclarationResolver)
registerCommonComponents(ProjectStructureProvider.getInstance(project).libraryLanguageVersionSettings)
registerCommonComponentsAfterExtensionsAreConfigured()
registerDefaultComponents()
val kotlinScopeProvider = FirKotlinScopeProvider(::wrapScopeWithJvmMapped)
register(FirKotlinScopeProvider::class, kotlinScopeProvider)