Minor: load FALLBACK built-ins in JvmPlatformAnalyzerServices

It doesn't matter because this built-ins instance will be used only to
get names of default imports, so nothing can be resolved to those
built-ins => no diagnostics will be reported
This commit is contained in:
Dmitry Savvinov
2020-07-15 17:43:28 +07:00
committed by Pavel Kirpichenkov
parent ba4cc4e075
commit 1479c7a270
@@ -32,7 +32,7 @@ object JvmPlatformAnalyzerServices : PlatformDependentAnalyzerServices() {
}
}
for (builtInPackage in JvmBuiltIns(storageManager, JvmBuiltIns.Kind.FROM_CLASS_LOADER).builtInPackagesImportedByDefault) {
for (builtInPackage in JvmBuiltIns(storageManager, JvmBuiltIns.Kind.FALLBACK).builtInPackagesImportedByDefault) {
addAllClassifiersFromScope(builtInPackage.memberScope)
}
}