0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

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 {}
```
This commit is contained in:
Andrew Kelley 2019-08-25 20:27:56 -04:00
commit 64e9b0ee46
No known key found for this signature in database
GPG key ID: 7C5F548F728501A9
2 changed files with 72 additions and 39 deletions