mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Fix cloning of auto_cast Ast
This commit is contained in:
@@ -203,6 +203,9 @@ Ast *clone_ast(Ast *node) {
|
||||
n->TypeCast.type = clone_ast(n->TypeCast.type);
|
||||
n->TypeCast.expr = clone_ast(n->TypeCast.expr);
|
||||
break;
|
||||
case Ast_AutoCast:
|
||||
n->AutoCast.expr = clone_ast(n->AutoCast.expr);
|
||||
break;
|
||||
|
||||
case Ast_BadStmt: break;
|
||||
case Ast_EmptyStmt: break;
|
||||
|
||||
Reference in New Issue
Block a user