# stage1: Reject undefined values when taking union ptr · gitcafe/zig

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

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

Visibility: public

Requested revision: 129ccad43443f26f00584816b18425c9a3a7b080

Requested commit: 129ccad43443f26f00584816b18425c9a3a7b080

Commit: 129ccad43443f26f00584816b18425c9a3a7b080

Tree: 0c1e70c1f297163761c3850058feeba6cf7c7b60

Author: LemonBoy

Committer: Veikka Tuominen

## Message

```
stage1: Reject undefined values when taking union ptr

The code rightfully assumes the union_val object to be fully initialized.

Closes #7019

```

## Parents

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

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