FIR CLI: fix java sources search scope usage

This commit is contained in:
Ilya Chernikov
2022-02-02 13:48:28 +01:00
committed by teamcity
parent 0df3fde37f
commit a08e70ae5c
3 changed files with 6 additions and 6 deletions
@@ -94,7 +94,7 @@ abstract class AbstractFirBaseDiagnosticsTest : BaseDiagnosticsTest() {
{ environment.createPackagePartProvider(it) }
),
config?.languageVersionSettings ?: LanguageVersionSettingsImpl.DEFAULT,
sourceScope = PsiBasedProjectFileSearchScope(scope),
javaSourcesScope = PsiBasedProjectFileSearchScope(scope),
librariesScope = PsiBasedProjectFileSearchScope(allProjectScope),
lookupTracker = null,
incrementalCompilationContext = null,