roc/crates/compiler/solve/src
Ayaz Hafiz 4657a957f7
When storing variables, merge them directly with the target rather than unifying
When we unify two variables that end up merged, the rank of the
resulting content is the lower of the two variables being merged. But
during storage, we really do mean, take the target descriptor of the
type we're merging against, and don't try to lower to a
possibly-generalized rank! This fixes a couple bugs I didn't even
realize were present!
2022-07-29 14:53:14 -04:00
..
ability.rs Wrap unification subs in Env 2022-07-28 08:57:33 -04:00
lib.rs Move lambda set specialization to its own module in solve 2022-07-29 08:43:16 -04:00
module.rs Move solve problems to their own crate 2022-07-28 08:57:32 -04:00
solve.rs When storing variables, merge them directly with the target rather than unifying 2022-07-29 14:53:14 -04:00
specialize.rs Avoid over-eager disjoint variable merging during lambda set compaction 2022-07-29 14:18:47 -04:00