# Sema: do not assume switch item indices align with union field indices · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c1c9bc0c41eb8956b2fe0b21e2443c6504e73234)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c1c9bc0c41eb8956b2fe0b21e2443c6504e73234

Requested commit: c1c9bc0c41eb8956b2fe0b21e2443c6504e73234

Commit: c1c9bc0c41eb8956b2fe0b21e2443c6504e73234

Tree: aa7e221d54438cb290c902f272bb4fc6d660478f

Author: mlugg

Committer: Matthew Lugg

## Message

```
Sema: do not assume switch item indices align with union field indices

Resolves: #17754

```

## Parents

- [5257643d3ddd35b0fb40b82988a9ccf9f859a779](https://git.cafe/gitcafe/zig/commit/5257643d3ddd35b0fb40b82988a9ccf9f859a779?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c1c9bc0c41eb8956b2fe0b21e2443c6504e73234?format=markdown)
