# compiler: make pointer type canonicalization always work · gitcafe/zig

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

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

Visibility: public

Requested revision: d06bf707ed374ca42a580ee7acf1cecaab078d0d

Requested commit: d06bf707ed374ca42a580ee7acf1cecaab078d0d

Commit: d06bf707ed374ca42a580ee7acf1cecaab078d0d

Tree: 09056238283ef9041bb2e3389d59522664088f76

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
compiler: make pointer type canonicalization always work

Previously it would canonicalize or not depending on some volatile
internal state of the compiler, now it forces resolution of the element
type to determine the alignment if it needs to.

```

## Parents

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

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