mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
make reference mut
This commit is contained in:
parent
4643148470
commit
ef5a81f731
1 changed files with 4 additions and 4 deletions
|
@ -399,7 +399,7 @@ pub fn sort_can_defs(
|
|||
) -> (Result<Vec<Declaration>, RuntimeError>, Output) {
|
||||
let CanDefs {
|
||||
refs_by_symbol,
|
||||
can_defs_by_symbol,
|
||||
mut can_defs_by_symbol,
|
||||
aliases,
|
||||
} = defs;
|
||||
|
||||
|
@ -583,7 +583,7 @@ pub fn sort_can_defs(
|
|||
&group,
|
||||
&env.closures,
|
||||
&mut all_successors_with_self,
|
||||
&can_defs_by_symbol,
|
||||
&mut can_defs_by_symbol,
|
||||
&mut declarations,
|
||||
);
|
||||
}
|
||||
|
@ -717,7 +717,7 @@ pub fn sort_can_defs(
|
|||
group,
|
||||
&env.closures,
|
||||
&mut all_successors_with_self,
|
||||
&can_defs_by_symbol,
|
||||
&mut can_defs_by_symbol,
|
||||
&mut declarations,
|
||||
);
|
||||
}
|
||||
|
@ -739,7 +739,7 @@ fn group_to_declaration(
|
|||
group: &[Symbol],
|
||||
closures: &MutMap<Symbol, References>,
|
||||
successors: &mut dyn FnMut(&Symbol) -> ImSet<Symbol>,
|
||||
can_defs_by_symbol: &MutMap<Symbol, Def>,
|
||||
can_defs_by_symbol: &mut MutMap<Symbol, Def>,
|
||||
declarations: &mut Vec<Declaration>,
|
||||
) {
|
||||
use Declaration::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue