AstGen: implement anytype struct fields

This commit is contained in:
Andrew Kelley
2021-04-29 17:13:18 -07:00
parent 55e86b724a
commit 9e49a65e1b
4 changed files with 25 additions and 13 deletions

View File

@@ -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.