mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-07 02:54:18 +00:00
Correct procedure checking flag handling, and correct the (bodge) handle of unchecked procedure bodies
This commit is contained in:
@@ -3,7 +3,7 @@ lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool ignore_body)
|
||||
GB_ASSERT(entity != nullptr);
|
||||
GB_ASSERT(entity->kind == Entity_Procedure);
|
||||
if (!entity->Procedure.is_foreign) {
|
||||
GB_ASSERT(entity->flags |= EntityFlag_ProcBodyChecked);
|
||||
GB_ASSERT(entity->flags & EntityFlag_ProcBodyChecked);
|
||||
}
|
||||
|
||||
String link_name = {};
|
||||
|
||||
Reference in New Issue
Block a user