# casting between integer and enum only works via tag type · gitcafe/zig

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

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

Visibility: public

Requested revision: 98237f7c0ba62099e85a8caf8fc09039845b224e

Requested commit: 98237f7c0ba62099e85a8caf8fc09039845b224e

Commit: 98237f7c0ba62099e85a8caf8fc09039845b224e

Tree: 4f0ecbc220a178747c330d457cc1388100bbed43

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
casting between integer and enum only works via tag type

See #305

```

## Parents

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

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