# Prevent bitCast to enum types · gitcafe/zig

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

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

Visibility: public

Requested revision: 8c640b3e604e597ba49abbda39bd97c379072a3a

Requested commit: 8c640b3e604e597ba49abbda39bd97c379072a3a

Commit: 8c640b3e604e597ba49abbda39bd97c379072a3a

Tree: ab0aedc4572504248d61a074faa31637444b0ae9

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Prevent bitCast to enum types

Stop the user from creating invalid enum values.

```

## Parents

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

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