Closed
Description
Because of this code:
fn T_tag(&type_names tn, uint size) -> TypeRef {
auto s = "tag_" + uint::to_str(size, 10u);
if (tn.name_has_type(s)) { ret tn.get_type(s); }
auto t = T_struct(~[T_int(), T_array(T_i8(), size)]);
tn.associate(s, t);
ret t;
}
Tags always end up 4 byte aligned when they have more than one variant, even when that's wrong.
Metadata
Metadata
Assignees
Labels
No labels