# Fix codegen error for some union initializers · gitcafe/zig

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

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

Visibility: public

Requested revision: 505b9db9090c7decba68c7882b1330f48aff0c10

Requested commit: 505b9db9090c7decba68c7882b1330f48aff0c10

Commit: 505b9db9090c7decba68c7882b1330f48aff0c10

Tree: 24e46643cef2522f37b41af28cd0032d9871e200

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Fix codegen error for some union initializers

Closes #3377

```

## Parents

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

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