| ... | ... | @@ -20254,6 +20254,11 @@ static void buf_write_value_bytes(CodeGen *codegen, uint8_t *buf, ConstExprValue |
| 20254 | 20254 | bigint_write_twos_complement(&val->data.x_bigint, buf, val->type->data.integral.bit_count, |
| 20255 | 20255 | codegen->is_big_endian); |
| 20256 | 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 | 20262 | case ZigTypeIdFloat: |
| 20258 | 20263 | float_write_ieee597(val, buf, codegen->is_big_endian); |
| 20259 | 20264 | return; |
| ... | ... | @@ -20285,8 +20290,6 @@ static void buf_write_value_bytes(CodeGen *codegen, uint8_t *buf, ConstExprValue |
| 20285 | 20290 | zig_panic("TODO buf_write_value_bytes error union"); |
| 20286 | 20291 | case ZigTypeIdErrorSet: |
| 20287 | 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 | 20293 | case ZigTypeIdFn: |
| 20291 | 20294 | zig_panic("TODO buf_write_value_bytes fn type"); |
| 20292 | 20295 | case ZigTypeIdUnion: |