Fix #4156
This commit is contained in:
1 parent
e0a2e52601
commit
476030dd28
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -2630,7 +2630,7 @@ gb_internal ExactValue exact_bit_set_all_set_mask(Type *type) {
|
||||
}
|
||||
|
||||
} else {
|
||||
// TODO(bill): enum range based
|
||||
// TODO(bill): enum range based");
|
||||
big_int_from_i64(&mask, -1);
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -1404,6 +1404,10 @@ gb_internal bool lb_switch_stmt_can_be_trivial_jump_table(AstSwitchStmt *ss, boo
|
||||
|
||||
}
|
||||
|
||||
if (is_typeid) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user