Fix #2562 caused by inlining of procedure call

This commit is contained in:
gingerBill
2023-05-29 22:57:42 +01:00
parent f3a463000d
commit 1247d36a12

View File

@@ -950,6 +950,7 @@ gb_internal void check_proc_decl(CheckerContext *ctx, Entity *e, DeclInfo *d) {
if (ac.require_declaration) {
e->flags |= EntityFlag_Require;
pl->inlining = ProcInlining_no_inline;
}