mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
Get rid of inaccurate debug assertion
This commit is contained in:
parent
99d31aa74c
commit
f7455deb06
1 changed files with 0 additions and 9 deletions
|
@ -1820,15 +1820,6 @@ fn unify_unspecialized_lambdas<M: MetaCollector>(
|
|||
let _dropped = uls_right.next().unwrap();
|
||||
let kept = uls_left.next().unwrap();
|
||||
merged_uls.push(*kept);
|
||||
|
||||
debug_assert!(uls_right
|
||||
.peek()
|
||||
.map(|r| !env.subs.equivalent_without_compacting(var_l, r.0))
|
||||
.unwrap_or(true));
|
||||
debug_assert!(uls_left
|
||||
.peek()
|
||||
.map(|l| !env.subs.equivalent_without_compacting(l.0, var_r))
|
||||
.unwrap_or(true));
|
||||
} else {
|
||||
// Even if these two variables unify, since they are not equivalent,
|
||||
// they correspond to different specializations! As such we must not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue