File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -545,29 +545,18 @@ class ForeverStackStore
545
545
546
546
class ResolutionError
547
547
{
548
- NodeId offending_id;
549
548
location_t offending_location;
550
549
std::vector<Identifier> suggestions;
551
550
552
- ResolutionError (NodeId node_id, location_t loc,
553
- std::vector<Identifier> suggestions)
554
- : offending_id (node_id), offending_location (loc),
555
- suggestions (suggestions)
551
+ ResolutionError (location_t loc, std::vector<Identifier> suggestions)
552
+ : offending_location (loc), suggestions (suggestions)
556
553
{}
557
554
558
555
public:
559
- template <typename T>
560
- static ResolutionError make_error (const T &node,
561
- std::vector<Identifier> suggestions = {})
562
- {
563
- return ResolutionError (node.get_node_id (), node.get_locus (),
564
- suggestions);
565
- }
566
-
567
556
static ResolutionError make_error (location_t loc,
568
557
std::vector<Identifier> suggestions = {})
569
558
{
570
- return ResolutionError (UNKNOWN_NODEID, loc, suggestions);
559
+ return ResolutionError (loc, suggestions);
571
560
}
572
561
};
573
562
You can’t perform that action at this time.
0 commit comments