mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Make defs use "let rec" style; drop Variable
This commit is contained in:
parent
760de2f328
commit
302b03cb20
6 changed files with 32 additions and 33 deletions
|
@ -565,7 +565,7 @@ fn adjust_rank(
|
|||
} else if mark == visit_mark {
|
||||
desc.rank
|
||||
} else {
|
||||
let min_rank = desc.rank.min(group_rank);
|
||||
let min_rank = group_rank.min(desc.rank);
|
||||
|
||||
// TODO from elm-compiler: how can min_rank ever be group_rank?
|
||||
desc.rank = min_rank;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue