# allow implicit cast from union to its enum tag type · gitcafe/zig

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

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

Visibility: public

Requested revision: 2715f6fdb8bca1c88c58dac047889711359e193b

Requested commit: 2715f6fdb8bca1c88c58dac047889711359e193b

Commit: 2715f6fdb8bca1c88c58dac047889711359e193b

Tree: 52fcb1d48f7a3198d7718e57a6df2c3bc742a157

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
allow implicit cast from union to its enum tag type

closes #642

```

## Parents

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

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