This commit is contained in:
ProgramSnail 2023-04-02 15:25:50 +03:00
parent 15e36c203a
commit 5559ad1400
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -1538,7 +1538,7 @@ void BuildVisitor::Visit(NameSubSuperExpression& node) {
std::string current_node_type = current_node_.GetType();
if (current_node_type == parser::tokens::NameIdentifier) { // optimize ??
// TODO: choose node = std::make_unique<NameIdentifier>(current_node_.GetValue());
// TODO: choose : node = std::make_unique<NameIdentifier>(current_node_.GetValue());
Visit(std::get<std::unique_ptr<NameIdentifier>>(node).get());
} else if (current_node_type == parser::tokens::Literal) {
node = std::make_unique<Literal>();