Skip to content

Commit

Permalink
Temporarily turn off new errors
Browse files Browse the repository at this point in the history
---
Signed-off-by: Michael Ferguson <[email protected]>
  • Loading branch information
mppf committed Feb 19, 2023
1 parent cd01142 commit 46ec3f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/lib/resolution/Resolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2005,6 +2005,8 @@ Resolver::lookupIdentifier(const Identifier* ident,
auto vec =
lookupNameInScope(context, scope, receiverScopes, ident->name(), config);

// TODO: re-enable these error messages once we are ready
/*
if (vec.size() == 0) {
auto pair = namesWithErrorsEmitted.insert(ident->name());
if (pair.second) {
Expand All @@ -2029,7 +2031,7 @@ Resolver::lookupIdentifier(const Identifier* ident,
ident, printFirstMention, vec, traceResult);
}
}
}
}*/

return vec;
}
Expand Down

0 comments on commit 46ec3f9

Please sign in to comment.