mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
remove ld_classic and fix dev backend missing layout
This commit is contained in:
parent
0f7964cc9c
commit
1e04668ee4
2 changed files with 3 additions and 1 deletions
|
@ -821,6 +821,9 @@ trait Backend<'a> {
|
|||
for arg in *arguments {
|
||||
if let Some(layout) = layout_map.get(arg) {
|
||||
arg_layouts.push(*layout);
|
||||
} else if matches!(lowlevel, LowLevel::ListDecref) {
|
||||
// The last arg of ListDecref has no layout. It is a proc symbol.
|
||||
continue;
|
||||
} else {
|
||||
internal_error!("the argument, {:?}, has no know layout", arg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue