# make the zero-bit-ness of pointers lazy · gitcafe/zig

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

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

Visibility: public

Requested revision: 64e9b0ee4673bf79d42ea14e354b324308f90b93

Requested commit: 64e9b0ee4673bf79d42ea14e354b324308f90b93

Commit: 64e9b0ee4673bf79d42ea14e354b324308f90b93

Tree: 5f6ddd1a1f84f9bd8fdfe752d6a8542cb51b7565

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
make the zero-bit-ness of pointers lazy

this case works now:

```zig
const Foo = struct {
    field: @typeOf(func).ReturnType,
};
fn func(self: *Foo) void {}
```

````

## Parents

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

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