Skip to content

Commit 249cb2a

Browse files
committedDec 6, 2017
fix regressions from previous commit
c49ee9f broke the tests and this fixes them
·
0.15.20.2.0
1 parent f464fe1 commit 249cb2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/ir.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7526,6 +7526,7 @@ static TypeTableEntry *ir_resolve_peer_types(IrAnalyze *ira, AstNode *source_nod
75267526

75277527
if (prev_type->id == TypeTableEntryIdUnreachable) {
75287528
prev_inst = cur_inst;
7529+
continue;
75297530
}
75307531

75317532
if (cur_type->id == TypeTableEntryIdUnreachable) {
@@ -7574,12 +7575,11 @@ static TypeTableEntry *ir_resolve_peer_types(IrAnalyze *ira, AstNode *source_nod
75747575
continue;
75757576
}
75767577

7577-
if (prev_type->id == TypeTableEntryIdFloat &&
7578-
cur_type->id == TypeTableEntryIdFloat)
7579-
{
7578+
if (prev_type->id == TypeTableEntryIdFloat && cur_type->id == TypeTableEntryIdFloat) {
75807579
if (cur_type->data.floating.bit_count > prev_type->data.floating.bit_count) {
75817580
prev_inst = cur_inst;
75827581
}
7582+
continue;
75837583
}
75847584

75857585
if (prev_type->id == TypeTableEntryIdErrorUnion &&

0 commit comments

Comments
 (0)
Please sign in to comment.