[FIR] Cleanup IC provider creation in FirSessionFactory
This commit is contained in:
committed by
TeamCityServer
parent
6d38a236c1
commit
6e4cc49f1d
@@ -84,8 +84,8 @@ object FirSessionFactory {
|
||||
sourceScope: GlobalSearchScope,
|
||||
librariesScope: GlobalSearchScope,
|
||||
lookupTracker: LookupTracker?,
|
||||
providerAndScopeForIncrementalCompilation: ProviderAndScopeForIncrementalCompilation?,
|
||||
getPackagePartProvider: (GlobalSearchScope) -> PackagePartProvider,
|
||||
getProviderAndScopeForIncrementalCompilation: () -> ProviderAndScopeForIncrementalCompilation?,
|
||||
dependenciesConfigurator: DependencyListForCliModule.Builder.() -> Unit = {},
|
||||
noinline sessionConfigurator: FirSessionConfigurator.() -> Unit = {},
|
||||
): FirSession {
|
||||
@@ -113,7 +113,7 @@ object FirSessionFactory {
|
||||
sessionProvider,
|
||||
sourceScope,
|
||||
project,
|
||||
providerAndScopeForIncrementalCompilation = getProviderAndScopeForIncrementalCompilation(),
|
||||
providerAndScopeForIncrementalCompilation,
|
||||
languageVersionSettings = languageVersionSettings,
|
||||
lookupTracker = lookupTracker,
|
||||
init = sessionConfigurator
|
||||
|
||||
Reference in New Issue
Block a user