# stage2: fix bug in ZIR gen of global comptime block · gitcafe/zig

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

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

Visibility: public

Requested revision: 272fe0cbfe4d59a307389e20b3bf57099b182ebe

Requested commit: 272fe0cbfe4d59a307389e20b3bf57099b182ebe

Commit: 272fe0cbfe4d59a307389e20b3bf57099b182ebe

Tree: 4bee2de458927fd97547c36cb8bfe936368f6c28

Author: Timon Kruiper

Committer: Timon Kruiper

## Message

```
stage2: fix bug in ZIR gen of global comptime block

A global comptime block did not end with a break_inline instruction
which caused an assertion to be hit.

```

## Parents

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

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