From 910ddb462685f5f08ce234faaec9f0e688f3aed4 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 26 Jun 2026 15:09:18 +0100 Subject: [PATCH] Check for `nullptr` when none of the options match in a proc group --- src/check_expr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_expr.cpp b/src/check_expr.cpp index dd5e99128..79e1154a1 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -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; }