| ... | ... | @@ -190,7 +190,7 @@ pub const CallingConvention = enum { |
| 190 | 190 | |
| 191 | 191 | /// This data structure is used by the Zig language code generation and |
| 192 | 192 | /// therefore must be kept in sync with the compiler implementation. |
| 193 | | pub const AddressSpace = enum { |
| 193 | pub const AddressSpace = enum(u4) { |
| 194 | 194 | generic, |
| 195 | 195 | gs, |
| 196 | 196 | fs, |
| ... | ... | @@ -283,7 +283,7 @@ pub const Type = union(enum) { |
| 283 | 283 | |
| 284 | 284 | /// This data structure is used by the Zig language code generation and |
| 285 | 285 | /// therefore must be kept in sync with the compiler implementation. |
| 286 | | pub const Size = enum { |
| 286 | pub const Size = enum(u2) { |
| 287 | 287 | One, |
| 288 | 288 | Many, |
| 289 | 289 | Slice, |