# Sema: fix access of inactive union field when enum and union fields are in different order · gitcafe/zig

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

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

Visibility: public

Requested revision: a4b52ccd9fb538bdcd77cf2d45b9310e189cc243

Requested commit: a4b52ccd9fb538bdcd77cf2d45b9310e189cc243

Commit: a4b52ccd9fb538bdcd77cf2d45b9310e189cc243

Tree: f87cb9fef812ba510ab6938eff266010cd7343e2

Author: Veikka Tuominen

Committer: Andrew Kelley

## Message

```
Sema: fix access of inactive union field when enum and union fields are in different order

Closes #12667

```

## Parents

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

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