diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-08-23 15:54:51 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-08-23 15:54:51 -0400 |
| commit | ac4dd9d665ba195a6b21b3b033f27c865015ccac (patch) | |
| tree | d3ae7db58ea39d073eda0fe70a9058f66cdebce3 /src/tokenizer.cpp | |
| parent | be0a9a72772566667d4c225972c6bc7c17b751ef (diff) | |
| download | zig-ac4dd9d665ba195a6b21b3b033f27c865015ccac.tar.gz zig-ac4dd9d665ba195a6b21b3b033f27c865015ccac.zip | |
better handling of lazy structs
this case works now:
```zig
const A = struct {
b_list_pointer: *const []B,
};
const B = struct {
a_pointer: *const A,
};
const b_list: []B = [_]B{};
const a = A{ .b_list_pointer = &b_list };
const obj = B{ .a_pointer = &a };
```
Diffstat (limited to 'src/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions
