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:
Krzosa Karol
2022-10-06 14:24:29 +02:00
parent 8395969620
commit 0010b92ef1
9 changed files with 19 additions and 16 deletions

View File

@@ -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);
}