Fix codegen scope names
This commit is contained in:
@@ -172,7 +172,7 @@ function void
|
||||
gen_expr(Ast_Expr *ast){
|
||||
switch(ast->kind){
|
||||
CASE(IDENT, Atom){
|
||||
gen_scope_name(node->parent_scope);
|
||||
gen_scope_name(node->resolved_decl->parent_scope);
|
||||
gen("%s", node->intern_val.str);
|
||||
BREAK();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user