[AST] Add OperatorFixity

Use this instead of DeclKind in a few places.
This commit is contained in:
Hamish Knight
2020-03-22 14:16:52 -07:00
parent e5952ab7fe
commit a502246f34
10 changed files with 60 additions and 22 deletions

View File

@@ -2156,7 +2156,8 @@ TypeDecl *ModuleFile::lookupNestedType(Identifier name,
return nullptr;
}
OperatorDecl *ModuleFile::lookupOperator(Identifier name, DeclKind fixity) {
OperatorDecl *ModuleFile::lookupOperator(Identifier name,
OperatorFixity fixity) {
PrettyStackTraceModuleFile stackEntry(*this);
if (!OperatorDecls)