Merge pull request #6630 from Znarf64/fix_typeid_arrays

Fix type info not being generated for types only used in []typeid literals
This commit is contained in:
gingerBill
2026-04-28 21:09:16 +01:00
committed by GitHub

View File

@@ -12463,6 +12463,7 @@ gb_internal void check_multi_expr_with_type_hint(CheckerContext *c, Operand *o,
break;
case Addressing_Type:
if (type_hint != nullptr && is_type_typeid(type_hint)) {
add_type_info_type(c, o->type);
break;
}
error_operand_not_expression(o);