# Sema: complete the Type.hash function · gitcafe/zig

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

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

Visibility: public

Requested revision: d5131e91eba9324eda3a2ae47eb2aa4530c87e83

Requested commit: d5131e91eba9324eda3a2ae47eb2aa4530c87e83

Commit: d5131e91eba9324eda3a2ae47eb2aa4530c87e83

Tree: 62abf5656b3392f738d48f848d3fc64bbc60c19a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: complete the Type.hash function

Similar to how Type.eql was reworked in the previous commit, this commit
reworks Type.hash to check all the different kinds of tags that a Type
can be represented with. It also completes the implementation for all
types except error sets, which need to have Type.eql enhanced as well.

```

## Parents

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

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