# fix const result loc, runtime if cond, else unreachable · gitcafe/zig

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

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

Visibility: public

Requested revision: 4a5b0cde1330e0410612838a42dad62cc30b0e92

Requested commit: 4a5b0cde1330e0410612838a42dad62cc30b0e92

Commit: 4a5b0cde1330e0410612838a42dad62cc30b0e92

Tree: ac182440d6b067eeaa2159c26c240387ae51397d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix const result loc, runtime if cond, else unreachable

Closes #2791. See that issue for more details; I documented the
debugging process quite thoroughly on this one.

```

## Parents

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

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