Merge pull request #7051 from FourteenBrush/patch-6

Fix switch fallthrough in lb_emit_struct_ev (Fixes #7050)
This commit is contained in:
gingerBill
2026-07-15 14:00:20 +01:00
committed by GitHub

View File

@@ -1496,6 +1496,7 @@ gb_internal lbValue lb_emit_struct_ev(lbProcedure *p, lbValue s, i32 index) {
case 0: result_type = alloc_type_array(t->FixedCapacityDynamicArray.elem, t->FixedCapacityDynamicArray.capacity); break;
case 1: result_type = t_int; break;
}
break;
case Type_Map:
{