# Makes the declaration slice resolve lazely when using \`@typeInfo\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 7560fc716d968f2448bed370affd6162d1e784c4

Requested commit: 7560fc716d968f2448bed370affd6162d1e784c4

Commit: 7560fc716d968f2448bed370affd6162d1e784c4

Tree: 502f5c0acd20c1da8ebf6e611863fa76d71fd4a3

Author: Timon Kruiper

Committer: Andrew Kelley

## Message

```
Makes the declaration slice resolve lazely when using `@typeInfo`

This way all the declarations in a container won't be resolved untill
the user actually uses the decls slice in the builtin TypeInfo union.

```

## Parents

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

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