mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
some comments
This commit is contained in:
parent
a1dbdf34d5
commit
7f92de69ab
1 changed files with 2 additions and 2 deletions
|
@ -1254,7 +1254,6 @@ fn type_to_var(
|
||||||
} else {
|
} else {
|
||||||
let mut arena = take_scratchpad();
|
let mut arena = take_scratchpad();
|
||||||
|
|
||||||
// let var = type_to_variable(subs, rank, pools, &arena, typ);
|
|
||||||
let var = type_to_variable(subs, rank, pools, &arena, aliases, typ);
|
let var = type_to_variable(subs, rank, pools, &arena, aliases, typ);
|
||||||
|
|
||||||
arena.reset();
|
arena.reset();
|
||||||
|
@ -2122,7 +2121,8 @@ fn adjust_rank(
|
||||||
|
|
||||||
max_rank
|
max_rank
|
||||||
} else if desc_mark == visit_mark {
|
} else if desc_mark == visit_mark {
|
||||||
// nothing changes
|
// we have already visited this variable
|
||||||
|
// (probably two variables had the same root)
|
||||||
desc_rank
|
desc_rank
|
||||||
} else {
|
} else {
|
||||||
let min_rank = group_rank.min(desc_rank);
|
let min_rank = group_rank.min(desc_rank);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue