# Make single-element enum default to u0 · gitcafe/zig

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

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

Visibility: public

Requested revision: eb7d36ae0d240b8ef5421703e613d164cf691d8d

Requested commit: eb7d36ae0d240b8ef5421703e613d164cf691d8d

Commit: eb7d36ae0d240b8ef5421703e613d164cf691d8d

Tree: 8ff235e5c307160217500b7ed7e51906dc06f3b5

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Make single-element enum default to u0

* Allow comptime_int as explicit enum tag type

Closes #2997

```

## Parents

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

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