core build system and array, it compiles!
This commit is contained in:
@@ -58,7 +58,7 @@ Ast *ast_copy(Ast *ast, Ast_Scope *parent_scope, Array<Ast_Decl *> *replace, Arr
|
||||
For(*replace) {
|
||||
assert(it->type == pctx->type_type);
|
||||
if (it->name == dst->intern_val) {
|
||||
int it_index = replace->get_index(&it);
|
||||
S64 it_index = replace->get_index(it);
|
||||
Ast_Call_Item *replacement = with[0][it_index];
|
||||
Ast *replacement_v = replacement->item;
|
||||
dst = (Ast_Atom *)ast_copy(replacement_v, parent_scope, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user