Remove use of queues for procedure checking.

This commit is contained in:
gingerBill
2023-01-02 12:28:38 +00:00
parent a5ce8a8c0b
commit 015fe924b8
5 changed files with 52 additions and 78 deletions

View File

@@ -986,7 +986,7 @@ gb_internal void check_proc_decl(CheckerContext *ctx, Entity *e, DeclInfo *d) {
GB_ASSERT(pl->body->kind == Ast_BlockStmt);
if (!pt->is_polymorphic) {
check_procedure_later(ctx, ctx->file, e->token, d, proc_type, pl->body, pl->tags);
check_procedure_later(ctx->checker, ctx->file, e->token, d, proc_type, pl->body, pl->tags);
}
} else if (!is_foreign) {
if (e->Procedure.is_export) {