# Sema: fix enum value without tag name used as switch item · gitcafe/zig

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

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

Visibility: public

Requested revision: 0efc6a35bead74b5faffbc87b446b5087f1bb99b

Requested commit: 0efc6a35bead74b5faffbc87b446b5087f1bb99b

Commit: 0efc6a35bead74b5faffbc87b446b5087f1bb99b

Tree: 6b8eaabe33a371d366c0be57b76c57e458d963e4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix enum value without tag name used as switch item

Previously stage2 would report a false positive compile error saying there
was no tag for this value.

```

## Parents

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

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