# Zcu.Decl: remove \`ty\` field · gitcafe/zig

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

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

Visibility: public

Requested revision: c6f3e9d79cf849623e6c4f25e02e17cdfab07b7c

Requested commit: c6f3e9d79cf849623e6c4f25e02e17cdfab07b7c

Commit: c6f3e9d79cf849623e6c4f25e02e17cdfab07b7c

Tree: 0efc0142dd23a67509015113b9e1a3aaa2d6c15a

Author: mlugg

Committer: mlugg

## Message

```
Zcu.Decl: remove `ty` field

`Decl` can no longer store un-interned values, so this field is now
unnecessary. The type can instead be fetched with the new `typeOf`
helper method, which just gets the type of the Decl's `Value`.

```

## Parents

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

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