mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Add get_without_compacting for debug_assert
This commit is contained in:
parent
fbf5dbdf43
commit
ee4bf21942
3 changed files with 32 additions and 12 deletions
|
@ -229,7 +229,7 @@ fn solve(
|
|||
// check that things went well
|
||||
debug_assert!(rigid_vars
|
||||
.iter()
|
||||
.all(|&var| subs.get(var).rank == Rank::none()));
|
||||
.all(|&var| subs.get_without_compacting(var).rank == Rank::none()));
|
||||
|
||||
let mut new_vars_by_symbol = vars_by_symbol.clone();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue