| ... | @@ -20254,6 +20254,11 @@ static void buf_write_value_bytes(CodeGen *codegen, uint8_t *buf, ConstExprValue | ... | @@ -20254,6 +20254,11 @@ static void buf_write_value_bytes(CodeGen *codegen, uint8_t *buf, ConstExprValue |
| 20254 | bigint_write_twos_complement(&val->data.x_bigint, buf, val->type->data.integral.bit_count, | 20254 | bigint_write_twos_complement(&val->data.x_bigint, buf, val->type->data.integral.bit_count, |
| 20255 | codegen->is_big_endian); | 20255 | codegen->is_big_endian); |
| 20256 | return; | 20256 | return; |
| | 20257 | case ZigTypeIdEnum: |
| | 20258 | bigint_write_twos_complement(&val->data.x_enum_tag, buf, |
| | 20259 | val->type->data.enumeration.tag_int_type->data.integral.bit_count, |
| | 20260 | codegen->is_big_endian); |
| | 20261 | return; |
| 20257 | case ZigTypeIdFloat: | 20262 | case ZigTypeIdFloat: |
| 20258 | float_write_ieee597(val, buf, codegen->is_big_endian); | 20263 | float_write_ieee597(val, buf, codegen->is_big_endian); |
| 20259 | return; | 20264 | return; |
| ... | @@ -20285,8 +20290,6 @@ static void buf_write_value_bytes(CodeGen *codegen, uint8_t *buf, ConstExprValue | ... | @@ -20285,8 +20290,6 @@ static void buf_write_value_bytes(CodeGen *codegen, uint8_t *buf, ConstExprValue |
| 20285 | zig_panic("TODO buf_write_value_bytes error union"); | 20290 | zig_panic("TODO buf_write_value_bytes error union"); |
| 20286 | case ZigTypeIdErrorSet: | 20291 | case ZigTypeIdErrorSet: |
| 20287 | zig_panic("TODO buf_write_value_bytes pure error type"); | 20292 | zig_panic("TODO buf_write_value_bytes pure error type"); |
| 20288 | case ZigTypeIdEnum: | | |
| 20289 | zig_panic("TODO buf_write_value_bytes enum type"); | | |
| 20290 | case ZigTypeIdFn: | 20293 | case ZigTypeIdFn: |
| 20291 | zig_panic("TODO buf_write_value_bytes fn type"); | 20294 | zig_panic("TODO buf_write_value_bytes fn type"); |
| 20292 | case ZigTypeIdUnion: | 20295 | case ZigTypeIdUnion: |