# Value.hashPtr: handle lazy_align as an integer · gitcafe/zig

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

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

Visibility: public

Requested revision: 7e47f106ccf73af4c890ecbb4d48e9e92d38d3c4

Requested commit: 7e47f106ccf73af4c890ecbb4d48e9e92d38d3c4

Commit: 7e47f106ccf73af4c890ecbb4d48e9e92d38d3c4

Tree: ccd3bffee8bb0d866715216da196e1b69b676fb1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Value.hashPtr: handle lazy_align as an integer

Although lazy_align is a different tag than integer values, it needs to
be hashed and equality-tested as if it were a simple integer. Otherwise
our basic data structure guarantees fall apart.

```

## Parents

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

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