diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-04-29 17:13:18 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-04-29 17:13:18 -0700 |
| commit | 9e49a65e1bd474f0f678465fb4b965ddc5899226 (patch) | |
| tree | 06a5c5982192f100dc6c0ecad8afba507e1ed579 /src/Module.zig | |
| parent | 55e86b724a2ce60b777bd94d1203f243435727b7 (diff) | |
| download | zig-9e49a65e1bd474f0f678465fb4b965ddc5899226.tar.gz zig-9e49a65e1bd474f0f678465fb4b965ddc5899226.zip | |
AstGen: implement anytype struct fields
Diffstat (limited to 'src/Module.zig')
| -rw-r--r-- | src/Module.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Module.zig b/src/Module.zig index cfaac07570..4b50c298e3 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -467,6 +467,7 @@ pub const Struct = struct { node_offset: i32, pub const Field = struct { + /// Uses `noreturn` to indicate `anytype`. ty: Type, abi_align: Value, /// Uses `unreachable_value` to indicate no default. |
