# add compile error for invalid deref on switch target · gitcafe/zig

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

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

Visibility: public

Requested revision: 8503eff8c12697c35ab5c73d6651c4b996339706

Requested commit: 8503eff8c12697c35ab5c73d6651c4b996339706

Commit: 8503eff8c12697c35ab5c73d6651c4b996339706

Tree: 13ddf63aa1b81d4f905d80fac129866e2650cc88

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for invalid deref on switch target

closes #945

```

## Parents

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

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