# autodoc: fix decltest offset errors · gitcafe/zig

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

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

Visibility: public

Requested revision: fbf0d0bee9c37c24b0b54962eaf05a535e814bc9

Requested commit: fbf0d0bee9c37c24b0b54962eaf05a535e814bc9

Commit: fbf0d0bee9c37c24b0b54962eaf05a535e814bc9

Tree: 5bd13168a625fadef9e54ced147fbe5893daf3e4

Author: Loris Cro

Committer: Andrew Kelley

## Message

```
autodoc: fix decltest offset errors

while it would be preferable to not save decltests as first-class decls
(and just embed their information inside the decl they refer), adding
logic to skip them complicates the code too much so we should consider
this an optimization for the future.

```

## Parents

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

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