| ... | ... | @@ -23263,9 +23263,9 @@ static IrInstGen *ir_analyze_instruction_enum_tag_name(IrAnalyze *ira, IrInstSrc |
| 23263 | 23263 | } |
| 23264 | 23264 | |
| 23265 | 23265 | if (target->value->type->id != ZigTypeIdEnum) { |
| 23266 | | ir_add_error(ira, target, |
| 23266 | ir_add_error(ira, &target->base, |
| 23267 | 23267 | buf_sprintf("expected enum tag, found '%s'", buf_ptr(&target->value->type->name))); |
| 23268 | | return ira->codegen->invalid_instruction; |
| 23268 | return ira->codegen->invalid_inst_gen; |
| 23269 | 23269 | } |
| 23270 | 23270 | |
| 23271 | 23271 | if (target->value->type->data.enumeration.src_field_count == 1 && |