# AstGen: fix store_to_block_ptr elision for switch statements · gitcafe/zig

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

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

Visibility: public

Requested revision: c69a95f64bc616b9d4185687edeb08544e34a34c

Requested commit: c69a95f64bc616b9d4185687edeb08544e34a34c

Commit: c69a95f64bc616b9d4185687edeb08544e34a34c

Tree: 0f75470619b6d5aea8cf90a55ac76919faf655e1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: fix store_to_block_ptr elision for switch statements

to make sure it matches the expected block

```

## Parents

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

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