# Update discriminant value also for zero-sized unions · gitcafe/zig

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

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

Visibility: public

Requested revision: a11da377347aea1085d3b43726040993952122c9

Requested commit: a11da377347aea1085d3b43726040993952122c9

Commit: a11da377347aea1085d3b43726040993952122c9

Tree: 3c5e61dd1ff0ff0d51f4d163ade020a3a8dd8328

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Update discriminant value also for zero-sized unions

Fixes #3681

```

## Parents

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

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