introduce foreign call

This commit is contained in:
Folkert 2020-11-05 23:35:56 +01:00
parent 3d0f2751f5
commit 3cd132dd51
8 changed files with 134 additions and 3 deletions

View file

@ -445,7 +445,7 @@ fn fix_values_captured_in_closure_expr(
fix_values_captured_in_closure_expr(&mut loc_arg.value, no_capture_symbols);
}
}
RunLowLevel { args, .. } => {
RunLowLevel { args, .. } | ForeignCall { args, .. } => {
for (_, arg) in args.iter_mut() {
fix_values_captured_in_closure_expr(arg, no_capture_symbols);
}