# add implicit cast from enum tag type of union to const ptr to the union · gitcafe/zig

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

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

Visibility: public

Requested revision: 756a218e27831a20395cc370fb3d667666dee20d

Requested commit: 756a218e27831a20395cc370fb3d667666dee20d

Commit: 756a218e27831a20395cc370fb3d667666dee20d

Tree: f652f1ae7f44769dd2acc361955435aff028581a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add implicit cast from enum tag type of union to const ptr to the union

closes #654

```

## Parents

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

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