Fix #2562 caused by inlining of procedure call
This commit is contained in:
1 parent
f3a463000d
commit
1247d36a12
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user