mirror of
https://github.com/ziglang/zig.git
synced 2026-02-01 12:13:44 +00:00
When acessing a packed struct member via a byte aligned ptr (from the optimisation in Sema.structFieldPtrByIndex()) the codegen must apply the parent ptr packed_offset in addition to the field offset itself. resolves https://github.com/ziglang/zig/issues/16609