# Dwarf: preserve deduped struct navs · gitcafe/zig

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

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

Visibility: public

Requested revision: 74ba5762ece3029bcac4934b430dd5180f54fe1c

Requested commit: 74ba5762ece3029bcac4934b430dd5180f54fe1c

Commit: 74ba5762ece3029bcac4934b430dd5180f54fe1c

Tree: acfe57d895b2fbc5b30efd5e5425e7119a0c9917

Author: Jacob Young

Committer: Jacob Young

## Message

```
Dwarf: preserve deduped struct navs

Previously, if multiple navs owned the same type due to being the same
zir node and having the same captures, they would overwrite each other.
Now, the navs codegenned later emit a decl alias to the first one.

```

## Parents

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

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