| ... | @@ -1857,7 +1857,7 @@ fn containerDecl( | ... | @@ -1857,7 +1857,7 @@ fn containerDecl( |
| 1857 | | 1857 | |
| 1858 | field_index += 1; | 1858 | field_index += 1; |
| 1859 | } | 1859 | } |
| 1860 | const empty_slot_count = 16 - ((field_index - 1) % 16); | 1860 | const empty_slot_count = 16 - (field_index % 16); |
| 1861 | cur_bit_bag >>= @intCast(u5, empty_slot_count * 2); | 1861 | cur_bit_bag >>= @intCast(u5, empty_slot_count * 2); |
| 1862 | | 1862 | |
| 1863 | const result = try gz.addPlNode(tag, node, zir.Inst.StructDecl{ | 1863 | const result = try gz.addPlNode(tag, node, zir.Inst.StructDecl{ |