# Fixes crash when a struct is given as the first parameter to the unionInit builtin \(\#16385\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 711b4e93e2b98233a5e225611891a0c25c6c12d9

Requested commit: 711b4e93e2b98233a5e225611891a0c25c6c12d9

Commit: 711b4e93e2b98233a5e225611891a0c25c6c12d9

Tree: 8372859a4f721124b3725e5a46ac6b20819f5ac0

Author: Anton Lilja

Committer: GitHub

## Message

```
Fixes crash when a struct is given as the first parameter to the unionInit builtin (#16385)


```

## Parents

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

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