Files
zig/test/behavior/zon/packed_struct.zon
Justus Klausecker 1f22b2cbb2 LowerZon: fix packed containers
Since `packed` containers are now internally represented by a `bitpack`,
they need special handling on initialization: they need to be either
bitpacked or bitcasted to their backing integer. `Sema` already did this,
but `LowerZon` didn't yet.
2026-05-02 20:05:33 +02:00

6 lines
45 B
Zig

.{
.x = 2,
.y = 0.5,
.z = -10,
}