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:
parent
8f41da2216
commit
64e9b0ee46
2 changed files with 72 additions and 39 deletions
12
src/ir.cpp
12
src/ir.cpp
Loading…
Add table
Add a link
Reference in a new issue