mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
fix most dev backend tests
This commit is contained in:
parent
5ca3d3bcf1
commit
89472bf495
7 changed files with 120 additions and 53 deletions
|
@ -2237,7 +2237,7 @@ fn build_int_unary_op<'a, 'ctx, 'env>(
|
|||
)
|
||||
}
|
||||
LayoutRepr::Builtin(Builtin::Decimal) => {
|
||||
call_bitcode_fn(env, &[arg.into()], &bitcode::DEC_FROM_U64)
|
||||
call_bitcode_fn(env, &[arg.into()], &bitcode::DEC_FROM_INT[arg_width])
|
||||
}
|
||||
_ => internal_error!("There can only be floats here!"),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue