mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Big improvement to the -threaded-checker code, unifying the logic and simplify behaviour
This commit is contained in:
@@ -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