# add lazy value for fn prototypes · gitcafe/zig

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

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

Visibility: public

Requested revision: 20049caaba0354754811ae0d36a773c31cf4578a

Requested commit: 20049caaba0354754811ae0d36a773c31cf4578a

Commit: 20049caaba0354754811ae0d36a773c31cf4578a

Tree: 427b71702899faf087d5d97237f8021e88b9ee35

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
add lazy value for fn prototypes

this case now works:

```zig
const Node = struct {
    field: fn (*Node) *Node,
};
```

````

## Parents

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

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