Begin to generalize modules away from AstPackage * in -use-separate-modules

This commit is contained in:
gingerBill
2023-01-12 17:13:25 +00:00
parent 402a165b60
commit 3b22c6620c
5 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ gb_internal lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool i
String link_name = {};
if (ignore_body) {
lbModule *other_module = lb_pkg_module(m->gen, entity->pkg);
lbModule *other_module = lb_module_of_entity(m->gen, entity);
link_name = lb_get_entity_name(other_module, entity);
} else {
link_name = lb_get_entity_name(m, entity);