mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 10:22:08 +00:00
Add -para-poly-diagnostics
This commit is contained in:
@@ -587,6 +587,7 @@ gb_internal bool find_or_generate_polymorphic_procedure(CheckerContext *old_c, E
|
||||
d->proc_lit = proc_lit;
|
||||
d->proc_checked_state = ProcCheckedState_Unchecked;
|
||||
d->defer_use_checked = false;
|
||||
d->para_poly_original = old_decl->entity;
|
||||
|
||||
Entity *entity = alloc_entity_procedure(nullptr, token, final_proc_type, tags);
|
||||
entity->state.store(EntityState_Resolved);
|
||||
|
||||
Reference in New Issue
Block a user