aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-01-18 18:10:15 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-01-18 18:22:48 -0700
commit8375b71f75c8b8567bc7d97867716c4911dace65 (patch)
treeaf72f900f284ea8bb99e975472113baee793773c /test/behavior/array.zig
parentcd594d10bdb930afe0cd05f1fcc8a7ecf2af4554 (diff)
downloadzig-8375b71f75c8b8567bc7d97867716c4911dace65.tar.gz
zig-8375b71f75c8b8567bc7d97867716c4911dace65.zip
Sema: implement declarations for `@typeInfo`
In the behavior test listings, I had to move type_info.zig test import to a section that did not include the x86 backend because it got to the point where adding another test to the file, even if it was an empty test that just returned immediately, caused a runtime failure when executing the test binary. Anyway, type info for opaques is implemented, and the declarations slice is shared between it, enums, and unions. Still TODO is the `data` field of a `Declaration`. I want to consider removing it from the data returned from `@typeInfo` and introducing `@declInfo` or similar for this data. This would avoid the complexity of a lazy mechanism.
Diffstat (limited to 'test/behavior/array.zig')
0 files changed, 0 insertions, 0 deletions