# Fix for @Type not picking up the sentinel value · gitcafe/zig

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

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

Visibility: public

Requested revision: 19c1b5a33a21bdddfbbca3c65b1c0e6419c4629f

Requested commit: 19c1b5a33a21bdddfbbca3c65b1c0e6419c4629f

Commit: 19c1b5a33a21bdddfbbca3c65b1c0e6419c4629f

Tree: f91d9c382ccc40d80ba0904bdaf4ff20cdc5d705

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Fix for @Type not picking up the sentinel value

The code converted the whole TypeInfo payload into an optional type
instead of using the "sentinel" field value.

Fixes #3828

```

## Parents

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

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