mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
WIP fixing the borrowing in HOFs
This commit is contained in:
parent
653d745dc5
commit
87b9f866d3
7 changed files with 310 additions and 225 deletions
|
@ -2048,7 +2048,6 @@ fn update<'a>(
|
|||
&& state.dependencies.solved_all()
|
||||
&& state.goal_phase == Phase::MakeSpecializations
|
||||
{
|
||||
Proc::insert_refcount_operations(arena, &mut state.procedures);
|
||||
// display the mono IR of the module, for debug purposes
|
||||
if roc_mono::ir::PRETTY_PRINT_IR_SYMBOLS {
|
||||
let procs_string = state
|
||||
|
@ -2068,6 +2067,8 @@ fn update<'a>(
|
|||
// &mut state.procedures,
|
||||
// );
|
||||
|
||||
Proc::insert_refcount_operations(arena, &mut state.procedures);
|
||||
|
||||
state.constrained_ident_ids.insert(module_id, ident_ids);
|
||||
|
||||
for (module_id, requested) in external_specializations_requested {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue