0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

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
This commit is contained in:
LemonBoy 2020-11-26 23:07:47 +01:00 • committed by Andrew Kelley
commit f91df39ad2
2 changed files with 7 additions and 1 deletions