mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
when on 128-bit numbers
This commit is contained in:
parent
d0f1500dad
commit
47bbef30e8
3 changed files with 37 additions and 3 deletions
|
@ -1387,8 +1387,6 @@ fn test_to_equality<'a>(
|
|||
}
|
||||
|
||||
Test::IsInt(test_int, precision) => {
|
||||
// TODO don't downcast i128 here
|
||||
debug_assert!(i128::from_ne_bytes(test_int) <= i64::MAX as i128);
|
||||
let lhs = Expr::Literal(Literal::Int(test_int));
|
||||
let lhs_symbol = env.unique_symbol();
|
||||
stores.push((lhs_symbol, Layout::int_width(precision), lhs));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue