# fix 0-bit child type coerced to optional return ptr result location · gitcafe/zig

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

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

Visibility: public

Requested revision: 287d3c37e1f53b6f0a0b29753b68254001194e62

Requested commit: 287d3c37e1f53b6f0a0b29753b68254001194e62

Commit: 287d3c37e1f53b6f0a0b29753b68254001194e62

Tree: 3d9a4db2edfc3d2ec1df5c9856b5d1ddf2d562ac

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix 0-bit child type coerced to optional return ptr result location

by un-special-casing 0 bit types in result locations

```

## Parents

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

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