Load cannot be namespaced anymore due to weird namespace behaviour that this creates.
I need to add a way to import but force evaluation of everything in the future to make that up.
This commit is contained in:
@@ -233,6 +233,7 @@ resolve_everything_in_module(Ast_Module *module){
|
||||
Iter_Named(&module->all_loaded_files, file){
|
||||
For(file.item[0]->decls){
|
||||
resolve_name(file.item[0], it->pos, it->name);
|
||||
|
||||
if(it->kind == AST_STRUCT){
|
||||
type_complete(it->type_val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user