Fix bug where you could have same named decls
This commit is contained in:
@@ -456,7 +456,7 @@ compile_files(Array<String> filename){
|
||||
decl->state = DECL_RESOLVED;
|
||||
}
|
||||
|
||||
package->decls.add(decl);
|
||||
insert_into_scope(package, decl);
|
||||
}
|
||||
pctx->currently_parsed_scope = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user