mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-16 08:04:07 +00:00
Fix #2562 caused by inlining of procedure call
This commit is contained in:
@@ -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