mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-08 16:44:34 -04:00
25012ab3d1
Switch prong values are fetched by index in semantic analysis by prong offset, but these were computed as capture offset. This means that a switch where the first prong does not capture and the second does, the switch_capture zir instruction would be assigned switch_prong 0 instead of 1.