Merge remote-tracking branch 'origin/trunk' into import-builtin-mod

This commit is contained in:
Folkert 2021-03-23 15:40:27 +01:00
commit e3b65b1ce0
31 changed files with 577 additions and 728 deletions

View file

@ -176,7 +176,7 @@ pub fn helper<'a>(
}
let (_, main_fn_layout) = match procedures.keys().find(|(s, _)| *s == main_fn_symbol) {
Some(found) => found.clone(),
Some(found) => *found,
None => panic!(
"The main function symbol {:?} does not have a procedure in {:?}",
main_fn_symbol,