[FIR] Move createSessionWithDependencies to FirSessionFactory

This commit is contained in:
Dmitriy Novozhilov
2021-05-19 13:42:35 +03:00
committed by TeamCityServer
parent 2ee54c2201
commit 99cdb86145
6 changed files with 52 additions and 139 deletions
@@ -80,7 +80,7 @@ abstract class AbstractFirBaseDiagnosticsTest : BaseDiagnosticsTest() {
val scope = TopDownAnalyzerFacadeForJVM.newModuleSearchScope(
project,
moduleFiles.mapNotNull { it.ktFile })
createSessionWithDependencies(
FirSessionFactory.createSessionWithDependencies(
Name.identifier(info.name.asString().removeSurrounding("<", ">")),
info.platform,
info.analyzerServices,