# allow top level declarations to be lazy · gitcafe/zig

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

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

Visibility: public

Requested revision: 1dd658d1d02f8dfc432bcda88fdb542189c31725

Requested commit: 1dd658d1d02f8dfc432bcda88fdb542189c31725

Commit: 1dd658d1d02f8dfc432bcda88fdb542189c31725

Tree: 02a59f559847a0898e9a2bfd915212df7775456a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
allow top level declarations to be lazy

this case now works:

```zig
const A = struct {
    b: B,
};
const B = fn (A) void;
```

````

## Parents

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

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