mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 02:40:41 -04:00
Big improvement to the -threaded-checker code, unifying the logic and simplify behaviour
This commit is contained in:
1 parent
ed5a4afc8c
commit
cec2309504
4 files changed
+108
-46
No files matched your search
+2
-2
@@ -443,7 +443,7 @@ bool find_or_generate_polymorphic_procedure(CheckerContext *c, Entity *base_enti
|
||||
}
|
||||
|
||||
// NOTE(bill): Check the newly generated procedure body
|
||||
check_procedure_later(nctx.checker, proc_info);
|
||||
check_procedure_later(&nctx, proc_info);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -6497,7 +6497,7 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
|
||||
}
|
||||
|
||||
pl->decl = decl;
|
||||
check_procedure_later(ctx.checker, ctx.file, empty_token, decl, type, pl->body, pl->tags);
|
||||
check_procedure_later(&ctx, ctx.file, empty_token, decl, type, pl->body, pl->tags);
|
||||
}
|
||||
check_close_scope(&ctx);
|
||||
|
||||
|
||||
Reference in new issue
Block a user