mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Debug assertion should be negated
This commit is contained in:
parent
41d7ade5a3
commit
9b7c4bf367
1 changed files with 2 additions and 2 deletions
|
@ -1823,11 +1823,11 @@ fn unify_unspecialized_lambdas<M: MetaCollector>(
|
|||
|
||||
debug_assert!(uls_right
|
||||
.peek()
|
||||
.map(|r| env.subs.equivalent_without_compacting(var_l, r.0))
|
||||
.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))
|
||||
.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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue