Check for nullptr when none of the options match in a proc group

This commit is contained in:
gingerBill
2026-06-26 15:09:18 +01:00
parent 7aff98a150
commit 910ddb4626

View File

@@ -7840,7 +7840,7 @@ gb_internal CallArgumentData check_call_arguments_proc_group(CheckerContext *c,
break;
}
}
if (all_the_same) {
if (all_the_same && first_results != nullptr) {
GB_ASSERT_MSG(is_type_tuple(first_results), "%s", type_to_string(first_results));
data.result_type = first_results;
}