# switch expression \- add compile errors · gitcafe/zig

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

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

Visibility: public

Requested revision: 818a0a26291cf456cfaa955401b1aa8219737d6c

Requested commit: 818a0a26291cf456cfaa955401b1aa8219737d6c

Commit: 818a0a26291cf456cfaa955401b1aa8219737d6c

Tree: 9eac0aacdcc41c718a18c98f3513beffaaeac2d3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
switch expression - add compile errors

   * for duplicate integer value
   * for missing integer values
   * for missing else prong

see #43

```

## Parents

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

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