More compact and meaningful error reporting in ResolverForProject

No more enormous module lists
This commit is contained in:
Pavel V. Talanov
2015-10-19 16:40:31 +03:00
parent 668b36f684
commit 85c05b18f5
6 changed files with 33 additions and 11 deletions
@@ -88,6 +88,7 @@ public class BuiltInsSerializer(private val dependOnOldBuiltIns: Boolean) {
val builtInModule = BuiltinsSourcesModule()
val resolver = JvmAnalyzerFacade.setupResolverForProject(
"builtIns source",
ProjectContext(environment.project), listOf(builtInModule),
{ ModuleContent(files, GlobalSearchScope.EMPTY_SCOPE) },
JvmPlatformParameters { throw IllegalStateException() },