[FIR] Make FirExtensionRegistrar a proper extension point

After that commit it's allowed to register any FIR plugin using
  existing extension infrastructure (`-Xplugin` CLI argument,
  plugin.xml for IDE plugins, etc)
This commit is contained in:
Dmitriy Novozhilov
2021-11-29 14:07:27 +03:00
committed by TeamCityServer
parent 14ee13c72e
commit ce218b8a0b
14 changed files with 43 additions and 38 deletions
@@ -40,6 +40,7 @@ fun createSessionForTests(
librariesScope,
lookupTracker = null,
providerAndScopeForIncrementalCompilation = null,
extensionRegistrars = emptyList(),
dependenciesConfigurator = {
friendDependencies(friendsPaths)
}
@@ -65,6 +66,7 @@ fun createSessionForTests(
PsiBasedProjectFileSearchScope(librariesScope),
lookupTracker = null,
providerAndScopeForIncrementalCompilation = null,
extensionRegistrars = emptyList(),
dependenciesConfigurator = {
friendDependencies(friendsPaths)
}