mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 17:32:22 -07:00
Extra check for type_info cycle checking
This commit is contained in:
@@ -1671,6 +1671,10 @@ bool check_procedure_type(Checker *c, Type *type, AstNode *proc_type_node, Array
|
||||
c->context.polymorphic_scope = c->context.scope;
|
||||
}
|
||||
|
||||
CheckerContext prev = c->context;
|
||||
defer (c->context = prev);
|
||||
c->context.curr_proc_sig = type;
|
||||
|
||||
bool variadic = false;
|
||||
isize variadic_index = -1;
|
||||
bool success = true;
|
||||
|
||||
Reference in New Issue
Block a user