# AstGen: fix ZIR for for loops accessing instruction out of block · gitcafe/zig

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

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

Visibility: public

Requested revision: 209e83f3950e8cb0daca389a4fa7cd79fe60394b

Requested commit: 209e83f3950e8cb0daca389a4fa7cd79fe60394b

Commit: 209e83f3950e8cb0daca389a4fa7cd79fe60394b

Tree: 175d3233e0f5a5ac69b6fc4171e995b35156fa59

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: fix ZIR for for loops accessing instruction out of block

```

## Parents

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

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