# fix enum codegen and implement comptime switch var on enums · gitcafe/zig

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

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

Visibility: public

Requested revision: 8106f9846aea806350d319535e0181104299ba5d

Requested commit: 8106f9846aea806350d319535e0181104299ba5d

Commit: 8106f9846aea806350d319535e0181104299ba5d

Tree: ef60cad5d8aa230cd7b5c34c6ef7c0db1d0bda88

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix enum codegen and implement comptime switch var on enums

```

## Parents

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

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