# codegen: fix union padding · gitcafe/zig

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

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

Visibility: public

Requested revision: 1cfad29f10a557df986fc940dcce7620bbd5d4d9

Requested commit: 1cfad29f10a557df986fc940dcce7620bbd5d4d9

Commit: 1cfad29f10a557df986fc940dcce7620bbd5d4d9

Tree: 27b4a68634bbb3f4fc0b1185ca420357fe4dc165

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
codegen: fix union padding

This regressed during the internpool merges. This commit
reinstates the padding logic for unions.

```

## Parents

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

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