mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-11 07:17:48 -04:00
Fix Unhandled Ast_OrBranchExpr
This commit is contained in:
1 parent
766d6aa946
commit
16bd19ed43
1 file changed
+4
@@ -230,6 +230,10 @@ gb_internal Ast *clone_ast(Ast *node, AstFile *f) {
|
||||
case Ast_OrReturnExpr:
|
||||
n->OrReturnExpr.expr = clone_ast(n->OrReturnExpr.expr, f);
|
||||
break;
|
||||
case Ast_OrBranchExpr:
|
||||
n->OrBranchExpr.label = clone_ast(n->OrBranchExpr.label, f);
|
||||
n->OrBranchExpr.expr = clone_ast(n->OrBranchExpr.expr, f);
|
||||
break;
|
||||
case Ast_TypeAssertion:
|
||||
n->TypeAssertion.expr = clone_ast(n->TypeAssertion.expr, f);
|
||||
n->TypeAssertion.type = clone_ast(n->TypeAssertion.type, f);
|
||||
|
||||
Reference in new issue
Block a user