Bitstruct in struct fix.

This commit is contained in:
Christoffer Lerno
2024-07-13 01:54:45 +02:00
parent 3f45ed14b9
commit 0e62423e06
7 changed files with 47 additions and 26 deletions

View File

@@ -1013,7 +1013,7 @@ static inline bool array_structurally_equivalent_to_struct(Type *array, Type *ty
Decl **members = type->decl->strukt.members;
// For structs / errors, all members must match.
ArrayIndex offset = 0;
ArrayIndex offset = 0;
AlignSize align_size = type_abi_alignment(array);
Type *array_base = array->array.base;
FOREACH(Decl *, member, members)