Add get_without_compacting for debug_assert

This commit is contained in:
Richard Feldman 2019-12-19 22:44:37 -05:00
parent fbf5dbdf43
commit ee4bf21942
3 changed files with 32 additions and 12 deletions

View file

@ -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();