Merge pull request #7252 from kalsprite/s002

fix typo in enumerated array
This commit is contained in:
Jeroen van Rijn
2026-08-08 00:28:21 +02:00
committed by GitHub

View File

@@ -1700,7 +1700,7 @@ gb_internal lbValue lb_const_value(lbModule *m, Type *type, ExactValue value, Ty
}
}
res.value = lb_build_constant_array_values(m, type, elem_type, cast(isize)type->Array.count, values, cc);
res.value = lb_build_constant_array_values(m, type, elem_type, cast(isize)type->EnumeratedArray.count, values, cc);
return res;
}
} else if (is_type_fixed_capacity_dynamic_array(type)) {