diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-05-03 11:46:02 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-05-03 11:46:02 -0700 |
| commit | 773902e9de5fc2c7db72c2fdab29ee8e5dd2e337 (patch) | |
| tree | ce9b18f1c43e93b93c100f351886d1d32e1422f3 /src/value.zig | |
| parent | 807a8b6f7549732d73239a649886cc64f0303f34 (diff) | |
| download | zig-773902e9de5fc2c7db72c2fdab29ee8e5dd2e337.tar.gz zig-773902e9de5fc2c7db72c2fdab29ee8e5dd2e337.zip | |
stage2: hook up semantic analysis of struct fields
Now that they are lazy, they need to get analyzed in the correct
context, when requested.
This commit also hooks up std.builtin type values being resolved
properly. This is needed, for example, with the `@export` builtin
function, which occurs in start.zig, for `std.builtin.ExportOptions`.
The ZIR code uses the special `Ref.export_options` value, and semantic
analysis has to map this to the corresponding type from `std.builtin`.
Diffstat (limited to 'src/value.zig')
0 files changed, 0 insertions, 0 deletions
