mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
implement enough for Quicksort example
This commit is contained in:
parent
4e57b3b0d7
commit
fea8ab47cc
2 changed files with 33 additions and 8 deletions
|
@ -2046,6 +2046,15 @@ fn update<'a>(
|
|||
&& state.dependencies.solved_all()
|
||||
&& state.goal_phase == Phase::MakeSpecializations
|
||||
{
|
||||
if false {
|
||||
for proc in state.procedures.iter() {
|
||||
println!("looking at {:?}", proc.1.name);
|
||||
if let Err(e) = roc_mono::alias_analysis::proc_spec(&proc.1) {
|
||||
println!("Error in {:?}: {:?}", proc.1.name, e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Proc::insert_refcount_operations(arena, &mut state.procedures);
|
||||
|
||||
Proc::optimize_refcount_operations(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue