# Revert "Allow constant struct val to reallocate its fields when resolving an inferred struct field with a comptime value\." · gitcafe/zig

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

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

Visibility: public

Requested revision: 01c722c21cd4f0216a722fa698d704e23707a5ba

Requested commit: 01c722c21cd4f0216a722fa698d704e23707a5ba

Commit: 01c722c21cd4f0216a722fa698d704e23707a5ba

Tree: 32e0b49d824a1c99ef5d1911709e40ad669e42e0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Revert "Allow constant struct val to reallocate its fields when resolving an inferred struct field with a comptime value."

This reverts commit debcc79d56a40f77b92e243b4e344fc9385bd405.

This caused a regression when building self-hosted

```

## Parents

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

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