# fix crash on union-enums with only 1 field · gitcafe/zig

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

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

Visibility: public

Requested revision: cacba6f4357fdec8db0ea792889c60022c39fbd3

Requested commit: cacba6f4357fdec8db0ea792889c60022c39fbd3

Commit: cacba6f4357fdec8db0ea792889c60022c39fbd3

Tree: 498cd96fc5f8e21f8ea4eb972251090c5f6f7bde

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix crash on union-enums with only 1 field

closes #713

```

## Parents

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

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