# fix handling of comptime-only union fields in \`Type.getUnionLayout\` \(\#25182\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 65a6bf1267770c4d27785cd1fbfa9fb1e5dc30c9

Requested commit: 65a6bf1267770c4d27785cd1fbfa9fb1e5dc30c9

Commit: 65a6bf1267770c4d27785cd1fbfa9fb1e5dc30c9

Tree: 70e4980ce40984ce21104d052c8f6df792a0c92e

Author: Silver

Committer: GitHub

## Message

```
fix handling of comptime-only union fields in `Type.getUnionLayout` (#25182)

Fixes #25180
```

## Parents

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

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