# AstGen: fix \`dbg_block_end\` being inserted before last instruction in block · gitcafe/zig

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

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

Visibility: public

Requested revision: 67316e2eab68f19778af82018eb32af1d1b575b3

Requested commit: 67316e2eab68f19778af82018eb32af1d1b575b3

Commit: 67316e2eab68f19778af82018eb32af1d1b575b3

Tree: 2577dbd8220646d6362657cc5f59c648e36e5ec0

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
AstGen: fix `dbg_block_end` being inserted before last instruction in block

Closes #14125

```

## Parents

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

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