mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-25 08:41:47 +00:00
Correct procedure checking flag handling, and correct the (bodge) handle of unchecked procedure bodies
This commit is contained in:
@@ -2189,6 +2189,9 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) {
|
||||
}
|
||||
entity->parent_proc_decl = ctx->curr_proc_decl;
|
||||
entities[entity_count++] = entity;
|
||||
if (name->kind == Ast_Ident) {
|
||||
name->Ident.entity = entity;
|
||||
}
|
||||
}
|
||||
|
||||
if (new_name_count == 0) {
|
||||
|
||||
Reference in New Issue
Block a user