Merge branch 'master' into bill/bedrock

This commit is contained in:
gingerBill committed 2026-05-05 13:57:14 +01:00
commit 942c1bff17
5 files changed
+5 -5

No files matched your search

+2 -1
View File
@@ -1909,7 +1909,8 @@ gb_internal void check_proc_group_decl(CheckerContext *ctx, Entity *pg_entity, D
ProcTypeOverloadKind kind = are_proc_types_overload_safe(p->type, q->type);
bool both_have_where_clauses = false;
if (p->decl_info->proc_lit != nullptr && q->decl_info->proc_lit != nullptr) {
if (p->decl_info != nullptr && q->decl_info != nullptr &&
p->decl_info->proc_lit != nullptr && q->decl_info->proc_lit != nullptr) {
GB_ASSERT(p->decl_info->proc_lit->kind == Ast_ProcLit);
GB_ASSERT(q->decl_info->proc_lit->kind == Ast_ProcLit);
auto pl = &p->decl_info->proc_lit->ProcLit;