aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-02 12:28:38 +0000
committergingerBill <bill@gingerbill.org>2023-01-02 12:28:38 +0000
commit015fe924b8f9a1d8cb78d307a4f8ef6791402bea (patch)
tree244f74ef163f47c80475e47f36051e6f6a6fb7ce /src/check_decl.cpp
parenta5ce8a8c0bc33afb6a4cf7baa16528c0a551d8e0 (diff)
Remove use of queues for procedure checking.
Diffstat (limited to 'src/check_decl.cpp')
-rw-r--r--src/check_decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp
index 59beae56d..4e3c1b405 100644
--- a/src/check_decl.cpp
+++ b/src/check_decl.cpp
@@ -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) {