mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
fix uniqueness attribute on nested recursive aliases
This commit is contained in:
parent
3ddfa7c7ce
commit
b4480e212a
4 changed files with 102 additions and 22 deletions
|
@ -553,7 +553,7 @@ fn unify_shared_tags(
|
|||
}
|
||||
} else {
|
||||
// we always unify NonRecursive with Recursive, so this should never happen
|
||||
debug_assert!(Some(actual) != recursion_var);
|
||||
debug_assert_ne!(Some(actual), recursion_var);
|
||||
|
||||
unify_pool(subs, pool, actual, expected)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue