mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
introduce foreign call
This commit is contained in:
parent
3d0f2751f5
commit
3cd132dd51
8 changed files with 134 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue