# add lazy value support for optional types · gitcafe/zig

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

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

Visibility: public

Requested revision: 101440c1990de653bbfb19713915d86d7a5bc182

Requested commit: 101440c1990de653bbfb19713915d86d7a5bc182

Commit: 101440c1990de653bbfb19713915d86d7a5bc182

Tree: 95aebc6ff11474878ffcf0befd9ae54986c859fa

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
add lazy value support for optional types

this case works now:

```zig
const Node = struct {
    node: ?*Node,
};
```

````

## Parents

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

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