diff options
Diffstat (limited to 'src/ast.c')
-rw-r--r-- | src/ast.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -54,6 +54,7 @@ BufferView ast_get_name(Ast *self) { } int funcdecl_init(FunctionDecl *self, ScopedAllocator *allocator) { + self->ssa_func_index = 0; return scope_init(&self->body, allocator); } @@ -223,5 +224,6 @@ void ast_resolve(Ast *self, AstCompilerContext *context) { binop_resolve(self->value.binop, context); break; } - /*self->resolve_status = AST_RESOLVED;*/ + /* TODO: See comment at the top of this function */ + self->resolve_status = AST_RESOLVED; } |