# Allow comparison between union tag and enum literal · gitcafe/zig

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

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

Visibility: public

Requested revision: cc6376058784aa7a910e93c31ac8bd819de4e187

Requested commit: cc6376058784aa7a910e93c31ac8bd819de4e187

Commit: cc6376058784aa7a910e93c31ac8bd819de4e187

Tree: 0aa35cb3c24648b2944f548a2101e20999048d92

Author: LemonBoy

Committer: LemonBoy

## Message

```
Allow comparison between union tag and enum literal

Closes #2810

```

## Parents

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

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