Module ergotree_ir::types::type_unify
source · Expand description
Types unification
Structs
- Error on type unification
Functions
- Performs pairwise type unification making sure each type variable is equally substituted in all items.
- Finds a substitution
subst
of type variables such that unify_types(t1.with_subst(subst), t2) == Ok(emptySubst)