feat(library/unifier): keep normalization result when processing universe level unification constraints
This commit is contained in:
parent
c7c35becb2
commit
935ba35292
1 changed files with 3 additions and 0 deletions
|
@ -938,6 +938,9 @@ struct unifier_fn {
|
|||
st = process_metavar_eq(rhs, lhs, jst);
|
||||
if (st != Continue) return st == Solved;
|
||||
|
||||
if (lhs != cnstr_lhs_level(new_c) || rhs != cnstr_rhs_level(new_c))
|
||||
new_c = mk_level_eq_cnstr(lhs, rhs, new_c.get_justification());
|
||||
|
||||
add_cnstr(new_c, cnstr_group::FlexRigid);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue