Support bit_set[E; [4]u64] style types

This commit is contained in:
gingerBill committed 2026-09-29 12:17:02 +01:00
1 parent ae63a4a4c6
commit b153d6071c
6 files changed
+236 -21

No files matched your search

-4
View File
@@ -11707,10 +11707,6 @@ gb_internal ExprKind check_compound_literal(CheckerContext *c, Operand *o, Ast *
field_count = et->Enum.fields.count;
}
if (is_type_array(bit_set_to_int(t))) {
is_constant = false;
}
for (Ast *elem : cl->elems) {
if (elem->kind == Ast_FieldValue) {
error(elem, "'field = value' in a bit_set literal is not allowed");