# codegen for enums chooses best order of tag and union fields · gitcafe/zig

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

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

Visibility: public

Requested revision: a0ae575ff8aef87d2dc4134c625f3a479b484b0f

Requested commit: a0ae575ff8aef87d2dc4134c625f3a479b484b0f

Commit: a0ae575ff8aef87d2dc4134c625f3a479b484b0f

Tree: d7442193c336b49eb5a84a477a521ab85ad7d57f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
codegen for enums chooses best order of tag and union fields

closes #396

```

## Parents

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

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