| ... | ... | @@ -15765,6 +15765,7 @@ static TypeTableEntry *ir_type_info_get_type(IrAnalyze *ira, const char *type_na |
| 15765 | 15765 | type_info_var = get_builtin_value(ira->codegen, "TypeInfo"); |
| 15766 | 15766 | assert(type_info_var->type->id == TypeTableEntryIdMetaType); |
| 15767 | 15767 | |
| 15768 | ensure_complete_type(ira->codegen, type_info_var->data.x_type); |
| 15768 | 15769 | type_info_type = type_info_var->data.x_type; |
| 15769 | 15770 | assert(type_info_type->id == TypeTableEntryIdUnion); |
| 15770 | 15771 | } |
| ... | ... | @@ -15790,6 +15791,7 @@ static TypeTableEntry *ir_type_info_get_type(IrAnalyze *ira, const char *type_na |
| 15790 | 15791 | |
| 15791 | 15792 | VariableTableEntry *var = tld->var; |
| 15792 | 15793 | |
| 15794 | ensure_complete_type(ira->codegen, var->value->type); |
| 15793 | 15795 | assert(var->value->type->id == TypeTableEntryIdMetaType); |
| 15794 | 15796 | return var->value->data.x_type; |
| 15795 | 15797 | } |