# stage2: fully implement Type.eql for pointers · gitcafe/zig

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

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

Visibility: public

Requested revision: 68f4eb0f67b6e5f7c20332e79c8e8decb07748ee

Requested commit: 68f4eb0f67b6e5f7c20332e79c8e8decb07748ee

Commit: 68f4eb0f67b6e5f7c20332e79c8e8decb07748ee

Tree: 7830086e80412e46fecee38de9c6c43844dbc4be

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fully implement Type.eql for pointers

Also fixed abiAlignment - for pointers it was returning the abi
alignment inside the type, rather than of the pointer itself. There is
now `ptrAlignment` for getting the alignment inside the type of
pointers.

```

## Parents

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

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