# Sema: fix illegal multi level pointer coercions · gitcafe/zig

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

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

Visibility: public

Requested revision: 06d08dababda8fde2fef8267698a712d1966045d

Requested commit: 06d08dababda8fde2fef8267698a712d1966045d

Commit: 06d08dababda8fde2fef8267698a712d1966045d

Tree: 2517a590fd472799ebea1eee4f39cf92de023230

Author: Justus Klausecker

Committer: Matthew Lugg

## Message

```
Sema: fix illegal multi level pointer coercions

Moves a premature check that allowed pointers to mutable pointers to coerce
to any other pointer to a mutable pointer.

```

## Parents

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

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