diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-08-26 08:43:03 -0600 |
|---|---|---|
| committer | Tadeo Kondrak <me@tadeo.ca> | 2020-09-07 06:23:24 -0600 |
| commit | ff2ed966bb37079217ee7a7753cb63a763b8c3b5 (patch) | |
| tree | 9c30a132c3b3cc8b37bc7c94421355491ef5a319 /lib/std/builtin.zig | |
| parent | d7268cbb242d6bea6b6e4d929a8d6b99608b640a (diff) | |
| download | zig-ff2ed966bb37079217ee7a7753cb63a763b8c3b5.tar.gz zig-ff2ed966bb37079217ee7a7753cb63a763b8c3b5.zip | |
Implement @Type for Union
This removes TypeInfo.UnionField.enum_field, which is redundant with
TypeInfo.Union.tag_type.
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index 911a0eb15c..52b8f641cd 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -317,7 +317,6 @@ pub const TypeInfo = union(enum) { /// therefore must be kept in sync with the compiler implementation. pub const UnionField = struct { name: []const u8, - enum_field: ?EnumField, field_type: type, }; |
