| ... | @@ -8199,7 +8199,7 @@ static TypeTableEntry *ir_analyze_fn_call(IrAnalyze *ira, IrInstructionCall *cal | ... | @@ -8199,7 +8199,7 @@ static TypeTableEntry *ir_analyze_fn_call(IrAnalyze *ira, IrInstructionCall *cal |
| 8199 | assert(fn_entry); | 8199 | assert(fn_entry); |
| 8200 | | 8200 | |
| 8201 | // Count the arguments of the function type id we are creating | 8201 | // Count the arguments of the function type id we are creating |
| 8202 | size_t new_fn_arg_count = 0; | 8202 | size_t new_fn_arg_count = first_arg_1_or_0; |
| 8203 | for (size_t call_i = 0; call_i < call_instruction->arg_count; call_i += 1) { | 8203 | for (size_t call_i = 0; call_i < call_instruction->arg_count; call_i += 1) { |
| 8204 | IrInstruction *arg = call_instruction->args[call_i]->other; | 8204 | IrInstruction *arg = call_instruction->args[call_i]->other; |
| 8205 | if (type_is_invalid(arg->value.type)) | 8205 | if (type_is_invalid(arg->value.type)) |