mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 03:32:37 +00:00
Fix code gen issue with bit_set
This commit is contained in:
@@ -4955,10 +4955,6 @@ gb_internal lbAddr lb_build_addr_compound_lit(lbProcedure *p, Ast *expr) {
|
||||
for (Ast *elem : cl->elems) {
|
||||
GB_ASSERT(elem->kind != Ast_FieldValue);
|
||||
|
||||
if (lb_is_elem_const(elem, et)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
lbValue expr = lb_build_expr(p, elem);
|
||||
GB_ASSERT(expr.type->kind != Type_Tuple);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user