Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
swift_jenkins
2020-09-21 13:26:46 -07:00
431 changed files with 445 additions and 10050 deletions

View File

@@ -486,7 +486,7 @@ void ModuleFile::getImportDecls(SmallVectorImpl<Decl *> &Results) {
SmallVector<ValueDecl *, 8> Decls;
TopLevelModule->lookupQualified(
TopLevelModule, DeclNameRef(ScopeID),
NL_QualifiedDefault | NL_KnownNoDependency, Decls);
NL_QualifiedDefault, Decls);
Optional<ImportKind> FoundKind = ImportDecl::findBestImportKind(Decls);
assert(FoundKind.hasValue() &&
"deserialized imports should not be ambiguous");