mirror of
https://github.com/ziglang/zig.git
synced 2025-12-31 10:33:19 +00:00
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.