Allow for overloading of polymorphic procedures

This commit is contained in:
Ginger Bill
2017-07-04 22:42:25 +01:00
parent 689a0c0b49
commit 188bc28f6a
11 changed files with 203 additions and 122 deletions

View File

@@ -664,7 +664,7 @@ AstNode *clone_ast_node(gbAllocator a, AstNode *node) {
n->RunExpr.expr = clone_ast_node(a, n->RunExpr.expr);
break;
case AstNode_UnaryExpr:
n->RunExpr.expr = clone_ast_node(a, n->RunExpr.expr);
n->UnaryExpr.expr = clone_ast_node(a, n->UnaryExpr.expr);
break;
case AstNode_BinaryExpr:
n->BinaryExpr.left = clone_ast_node(a, n->BinaryExpr.left);