# make \`@typeInfo\` not return private decls · gitcafe/zig

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

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

Visibility: public

Requested revision: 3c08fe931a10618950c6af9e89226d1d9b20bbb9

Requested commit: 3c08fe931a10618950c6af9e89226d1d9b20bbb9

Commit: 3c08fe931a10618950c6af9e89226d1d9b20bbb9

Tree: e745ce6e163c0af808adc8322a6c83e5ba426641

Author: Jacob G-W

Committer: Andrew Kelley

## Message

```
make `@typeInfo` not return private decls

fixes #10731
Thanks @nektro for previous work in #14878

This change creates a small breaking change:
It removes the `is_pub` field of a decl in `@typeInfo`

```

## Parents

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

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