# AstGen: fix incorrectly using decl_val/decl_ref · gitcafe/zig

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

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

Visibility: public

Requested revision: 861b784454aa2ed3365b31dc18f9f569bc637703

Requested commit: 861b784454aa2ed3365b31dc18f9f569bc637703

Commit: 861b784454aa2ed3365b31dc18f9f569bc637703

Tree: bad3969aad34da935d24dce392b05419d2adda42

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: fix incorrectly using decl_val/decl_ref

in identifiers rather than directly referencing the instructions.

```

## Parents

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

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