# fix crash when var init has compile error · gitcafe/zig

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

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

Visibility: public

Requested revision: b18af37c578b118a245c911508d73ed23c303ee0

Requested commit: b18af37c578b118a245c911508d73ed23c303ee0

Commit: b18af37c578b118a245c911508d73ed23c303ee0

Tree: 5d05f47eff497583cdf97c0943787d576b6ca60e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix crash when var init has compile error

and then the var is referenced

closes #1483

```

## Parents

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

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