remove ld_classic and fix dev backend missing layout

This commit is contained in:
Brendan Hansknecht 2024-07-10 23:32:24 -07:00
parent 0f7964cc9c
commit 1e04668ee4
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
2 changed files with 3 additions and 1 deletions

View file

@ -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);
}