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:
committed by
Pavel Kirpichenkov
parent
ba4cc4e075
commit
1479c7a270
+1
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user