| ... | ... | @@ -9006,7 +9006,8 @@ static bool ir_num_lit_fits_in_other_type(IrAnalyze *ira, IrInstruction *instruc |
| 9006 | 9006 | } |
| 9007 | 9007 | |
| 9008 | 9008 | ConstExprValue *const_val = ir_resolve_const(ira, instruction, UndefBad); |
| 9009 | | assert(const_val != nullptr); |
| 9009 | if (const_val == nullptr) |
| 9010 | return false; |
| 9010 | 9011 | |
| 9011 | 9012 | bool const_val_is_int = (const_val->type->id == ZigTypeIdInt || const_val->type->id == ZigTypeIdComptimeInt); |
| 9012 | 9013 | bool const_val_is_float = (const_val->type->id == ZigTypeIdFloat || const_val->type->id == ZigTypeIdComptimeFloat); |