# fix comptime switch on enum with ref payload · gitcafe/zig

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

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

Visibility: public

Requested revision: 11d8a8cc7b6984f2c79923a5e3f763003f2b558f

Requested commit: 11d8a8cc7b6984f2c79923a5e3f763003f2b558f

Commit: 11d8a8cc7b6984f2c79923a5e3f763003f2b558f

Tree: 20151d02f9d0157abefa0e006dff282af5f64a1d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix comptime switch on enum with ref payload

See #43

```

## Parents

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

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