mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
pass argument by reference
This commit is contained in:
parent
592f2cb545
commit
ee23e5979d
4 changed files with 5 additions and 5 deletions
|
@ -450,7 +450,7 @@ pub fn canonicalize_expr<'a>(
|
|||
|
||||
let mut bound_by_argument_patterns = MutSet::default();
|
||||
|
||||
for loc_pattern in loc_arg_patterns.into_iter() {
|
||||
for loc_pattern in loc_arg_patterns.iter() {
|
||||
let (new_output, can_arg) = canonicalize_pattern(
|
||||
env,
|
||||
var_store,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue