Skip to content

Commit

Permalink
Expand - Visit else of let-else
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Dec 9, 2023
1 parent 1bdb9a6 commit 51a7739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/expand/mod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@ struct CExpandExpr:
Expand_Type(crate, modstack, this->cur_mod(), node.m_type);
Expand_Pattern(crate, modstack, this->cur_mod(), node.m_pat, false);
this->visit_nodelete(node, node.m_value);
this->visit_nodelete(node, node.m_else);
}
void visit(::AST::ExprNode_Assign& node) override {
this->visit_nodelete(node, node.m_slot);
Expand Down

0 comments on commit 51a7739

Please sign in to comment.