Refactoring: restrict callback in ResolverForProjectImpl

This commit is contained in:
Nikolay Krasko
2018-03-14 14:07:35 +03:00
parent 666d31bdc4
commit 3e313509e1
4 changed files with 7 additions and 6 deletions
@@ -38,7 +38,8 @@ fun createResolveSessionForFiles(
val testModule = TestModule(addBuiltIns)
val resolverForProject = ResolverForProjectImpl(
"test",
projectContext, listOf(testModule), { JvmAnalyzerFacade },
projectContext, listOf(testModule),
{ JvmAnalyzerFacade },
{ ModuleContent(syntheticFiles, GlobalSearchScope.allScope(project)) },
JvmPlatformParameters { testModule },
modulePlatforms = { JvmPlatform.multiTargetPlatform }