mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +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
|
@ -1255,7 +1255,7 @@ trait Backend<'a> {
|
|||
);
|
||||
|
||||
debug_assert!(
|
||||
matches!(*ret_layout, Layout::F32 | Layout::F64),
|
||||
matches!(*ret_layout, Layout::F32 | Layout::F64 | Layout::DEC),
|
||||
"NumToFrac: expected to have return layout of type Float"
|
||||
);
|
||||
self.build_num_to_frac(sym, &args[0], &arg_layouts[0], ret_layout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue