# stage1: Fix small bug in pointer type analysis · gitcafe/zig

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

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

Visibility: public

Requested revision: b3314a8be6c902c4da3ccef4b29f2ca3ae22061c

Requested commit: b3314a8be6c902c4da3ccef4b29f2ca3ae22061c

Commit: b3314a8be6c902c4da3ccef4b29f2ca3ae22061c

Tree: 4e4fbd8c5ba1f036d0bd6172c806e09a5cc2d18b

Author: LemonBoy

Committer: Veikka Tuominen

## Message

```
stage1: Fix small bug in pointer type analysis

A flag meant to catch recursively-defined types was never reset, leading
the compiler to generate wrong answers when asked for its
type/alignment.

Closes #6850

```

## Parents

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

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