# stage1: Fix crash in \*\[N\]T to \[\]T conversion with zst · gitcafe/zig

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

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

Visibility: public

Requested revision: 288b8b535face92941b3f6c7f3eb09baf347a558

Requested commit: 288b8b535face92941b3f6c7f3eb09baf347a558

Commit: 288b8b535face92941b3f6c7f3eb09baf347a558

Tree: edb3c7bf63fa7436d2c63b7909db9b692631e575

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage1: Fix crash in *[N]T to []T conversion with zst

Prevent the crash by not making the codegen try to access the
non-existing ptr field in the slice.

Closes #6951

```

## Parents

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

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