mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-09 11:58:10 +00:00
Begin to generalize modules away from AstPackage * in -use-separate-modules
This commit is contained in:
@@ -1222,7 +1222,7 @@ gb_internal void lb_create_global_procedures_and_types(lbGenerator *gen, Checker
|
||||
|
||||
lbModule *m = &gen->default_module;
|
||||
if (USE_SEPARATE_MODULES) {
|
||||
m = lb_pkg_module(gen, e->pkg);
|
||||
m = lb_module_of_entity(gen, e);
|
||||
}
|
||||
|
||||
array_add(&m->global_procedures_and_types_to_create, e);
|
||||
|
||||
Reference in New Issue
Block a user