# stage1: Fix typeInfo generation for arrays w/o sentinel · gitcafe/zig

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

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

Visibility: public

Requested revision: df99cfdf1ea6f3c0ec7245c771d42d988313a07a

Requested commit: df99cfdf1ea6f3c0ec7245c771d42d988313a07a

Commit: df99cfdf1ea6f3c0ec7245c771d42d988313a07a

Tree: ba163366da1ec98802ca03bacd41430db75ecbf7

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage1: Fix typeInfo generation for arrays w/o sentinel

ZigTypeIdOptional types have a different way of specifying their payload
value depending on whether the child type is a pointer or not (plus some
other special cases).

Fixes #7251

```

## Parents

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

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