mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 05:24:15 +00:00
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 |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||