aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-08-23 15:54:51 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-08-23 15:54:51 -0400
commitac4dd9d665ba195a6b21b3b033f27c865015ccac (patch)
treed3ae7db58ea39d073eda0fe70a9058f66cdebce3 /src/tokenizer.cpp
parentbe0a9a72772566667d4c225972c6bc7c17b751ef (diff)
downloadzig-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