# autodoc: fix frontend crash while rendering std.mem · gitcafe/zig

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

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

Visibility: public

Requested revision: 622714b76b6c3a21a5806e894151d6de8a7e6866

Requested commit: 622714b76b6c3a21a5806e894151d6de8a7e6866

Commit: 622714b76b6c3a21a5806e894151d6de8a7e6866

Tree: 8586d9f8af356244cfd1c37fe54b7f2079d30ee5

Author: Loris Cro

Committer: Loris Cro

## Message

```
autodoc: fix frontend crash while rendering std.mem

Previously we expected to only find decl refs in a `foo.bar.baz`
type of expression. This would crash when trying to render something
like `@typeInfo(T).Int.bits`. We now properly account for builtins
and other components.

```

## Parents

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

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