mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Merge branch 'master' of github.com:gingerBill/Odin
This commit is contained in:
+1
-2
@@ -5082,8 +5082,7 @@ Type *check_call_arguments(Checker *c, Operand *operand, Type *proc_type, AstNod
|
|||||||
|
|
||||||
if (operand->mode == Addressing_Overload) {
|
if (operand->mode == Addressing_Overload) {
|
||||||
GB_ASSERT(operand->overload_entities != NULL &&
|
GB_ASSERT(operand->overload_entities != NULL &&
|
||||||
operand->overload_count > 1);
|
operand->overload_count > 0);
|
||||||
|
|
||||||
isize overload_count = operand->overload_count;
|
isize overload_count = operand->overload_count;
|
||||||
Entity ** procs = operand->overload_entities;
|
Entity ** procs = operand->overload_entities;
|
||||||
ValidProcAndScore *valids = gb_alloc_array(heap_allocator(), ValidProcAndScore, overload_count);
|
ValidProcAndScore *valids = gb_alloc_array(heap_allocator(), ValidProcAndScore, overload_count);
|
||||||
|
|||||||
Reference in New Issue
Block a user