| ... | ... | @@ -6113,7 +6113,7 @@ ZigValue *get_the_one_possible_value(CodeGen *g, ZigType *type_entry) { |
| 6113 | 6113 | TypeUnionField *only_field = &union_type->data.unionation.fields[0]; |
| 6114 | 6114 | ZigType *field_type = resolve_union_field_type(g, only_field); |
| 6115 | 6115 | assert(field_type); |
| 6116 | | bigint_init_unsigned(&result->data.x_union.tag, 0); |
| 6116 | bigint_init_bigint(&result->data.x_union.tag, &only_field->enum_field->value); |
| 6117 | 6117 | result->data.x_union.payload = g->pass1_arena->create<ZigValue>(); |
| 6118 | 6118 | copy_const_val(g, result->data.x_union.payload, |
| 6119 | 6119 | get_the_one_possible_value(g, field_type)); |