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

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

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

Visibility: public

Requested revision: a7c2cfe16d4267ea4e4719568c12a7a950374b0c

Requested commit: a7c2cfe16d4267ea4e4719568c12a7a950374b0c

Commit: a7c2cfe16d4267ea4e4719568c12a7a950374b0c

Tree: 357b33ce8bf2502895739e8c4e45e2e0c9bc24a8

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

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

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