| ... | ... | @@ -4248,6 +4248,10 @@ static TypeTableEntry *ir_resolve_peer_types(IrAnalyze *ira, AstNode *source_nod |
| 4248 | 4248 | TypeTableEntry *prev_type = prev_inst->type_entry; |
| 4249 | 4249 | if (cur_type->id == TypeTableEntryIdInvalid) { |
| 4250 | 4250 | return cur_type; |
| 4251 | } else if (prev_type->id == TypeTableEntryIdUnreachable) { |
| 4252 | prev_inst = cur_inst; |
| 4253 | } else if (cur_type->id == TypeTableEntryIdUnreachable) { |
| 4254 | continue; |
| 4251 | 4255 | } else if (prev_type->id == TypeTableEntryIdPureError) { |
| 4252 | 4256 | prev_inst = cur_inst; |
| 4253 | 4257 | continue; |
| ... | ... | @@ -4265,10 +4269,6 @@ static TypeTableEntry *ir_resolve_peer_types(IrAnalyze *ira, AstNode *source_nod |
| 4265 | 4269 | } else if (types_match_const_cast_only(cur_type, prev_type)) { |
| 4266 | 4270 | prev_inst = cur_inst; |
| 4267 | 4271 | continue; |
| 4268 | | } else if (prev_type->id == TypeTableEntryIdUnreachable) { |
| 4269 | | prev_inst = cur_inst; |
| 4270 | | } else if (cur_type->id == TypeTableEntryIdUnreachable) { |
| 4271 | | continue; |
| 4272 | 4272 | } else if (prev_type->id == TypeTableEntryIdInt && |
| 4273 | 4273 | cur_type->id == TypeTableEntryIdInt && |
| 4274 | 4274 | prev_type->data.integral.is_signed == cur_type->data.integral.is_signed) |