# hook up unions with lazy values · gitcafe/zig

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

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

Visibility: public

Requested revision: fa6c20a02d2ee7648f69d9ba3b19fa600e8dd0e9

Requested commit: fa6c20a02d2ee7648f69d9ba3b19fa600e8dd0e9

Commit: fa6c20a02d2ee7648f69d9ba3b19fa600e8dd0e9

Tree: 2453616dd22b5c3fc14c07eea88b0dcc8c158a43

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
hook up unions with lazy values

this case works now:

```zig
const Expr = union(enum) {
    Literal: u8,
    Question: *Expr,
};
```

````

## Parents

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

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