# Sema: fix comptime-known union initialization with OPV field · gitcafe/zig

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

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

Visibility: public

Requested revision: b1dcf2b149c55cf8bc53cd9b9bdb707a0003e93f

Requested commit: b1dcf2b149c55cf8bc53cd9b9bdb707a0003e93f

Commit: b1dcf2b149c55cf8bc53cd9b9bdb707a0003e93f

Tree: 13aae920d7eed832a2ddf99d037e43045d52250a

Author: mlugg

Committer: mlugg

## Message

```
Sema: fix comptime-known union initialization with OPV field

The previous commit uncovered this existing OPV bug by triggering this
logic more frequently.

```

## Parents

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

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