We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cebeef commit 8c797a9Copy full SHA for 8c797a9
core/translate/expr.rs
@@ -1942,7 +1942,7 @@ pub fn translate_expr(
1942
// If we don't do this -1 * 9223372036854775808 will overflow and parse will fail
1943
// and trigger conversion to Real.
1944
if numeric_value == "9223372036854775808"
1945
- || numeric_value.to_lowercase() == "0x7fffffffffffffff"
+ || numeric_value.eq_ignore_ascii_case("0x7fffffffffffffff")
1946
{
1947
program.emit_insn(Insn::Integer {
1948
value: i64::MIN,
0 commit comments