NFC: Rename NameBinding to ImportResolution

This commit is contained in:
Hamish Knight
2020-03-28 15:11:23 -07:00
parent e8cbe76cba
commit d2434e1bf7
10 changed files with 77 additions and 83 deletions

View File

@@ -1182,7 +1182,7 @@ lookupOperatorDeclForName(const FileUnit &File, SourceLoc Loc,
}
auto &SF = cast<SourceFile>(File);
assert(SF.ASTStage >= SourceFile::NameBound);
assert(SF.ASTStage >= SourceFile::ImportsResolved);
// Check if the decl exists on the file.
if (auto *op = OperatorLookup<OP_DECL>::lookup(eval, desc))