# Sema: \`@intToEnum\` on non-exhaustive enum at comptime should check int is in range · gitcafe/zig

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

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

Visibility: public

Requested revision: 332a43858a6ba2128d3df9e6bca45a10547ed383

Requested commit: 332a43858a6ba2128d3df9e6bca45a10547ed383

Commit: 332a43858a6ba2128d3df9e6bca45a10547ed383

Tree: 31d0a0eb6fe120e0d375d58655cef8fe555b05b8

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
Sema: `@intToEnum` on non-exhaustive enum at comptime should check int is in range

Closes #14155

```

## Parents

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

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