# add peer type resolution for mixed-const \[\]T and \*\[N\]T · gitcafe/zig

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

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

Visibility: public

Requested revision: b980568c810fda4c014da42be8e5108b4cbadb7c

Requested commit: b980568c810fda4c014da42be8e5108b4cbadb7c

Commit: b980568c810fda4c014da42be8e5108b4cbadb7c

Tree: 84b8bba60e1bfd206711cccdc95408c556873fa9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add peer type resolution for mixed-const []T and *[N]T

closes #4766

This commit also fixes the implementation of some utility functions for
adjusting properties of pointer types. Previously these functions would
incorrectly drop vector, sentinel, and inference metadata.

```

## Parents

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

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