roc/crates/compiler/unify
Ayaz Hafiz f6da8275ec
Record changed variables if any nested variable has changed
When we unify variables in mono, we must invalidate the sections of the
layout cache reached by those variables. Previously we did this by
recording changed variables as those that were `merge`d. However this is
not enough; we must also record all the parent types they came from. The
reason is we may have something like

```
Alias (Foo, a) ~ Alias (Bar, U8)
```

where we will merge `a = U8` but we do not merge the aliases.

Closes #4919
2023-01-21 12:37:21 -06:00
..
src Record changed variables if any nested variable has changed 2023-01-21 12:37:21 -06:00
Cargo.toml Support custom abilities for opaques with immaterial lambda sets 2022-11-21 18:03:56 -06:00