# stage2: fix crash in switch compile error · gitcafe/zig

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

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

Visibility: public

Requested revision: 1d808d0dd20326dbdb0478f2a2f43f0b9ebb557a

Requested commit: 1d808d0dd20326dbdb0478f2a2f43f0b9ebb557a

Commit: 1d808d0dd20326dbdb0478f2a2f43f0b9ebb557a

Tree: ebb6072e5533949e8c7273d4f57d69b861ddf1fd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fix crash in switch compile error

when the AST for the switch has never been loaded

```

## Parents

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

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