fix(library/unifier): assertion violation
This commit is contained in:
parent
57effaf1a9
commit
050104cdfd
1 changed files with 1 additions and 1 deletions
|
@ -2191,7 +2191,7 @@ struct unifier_fn {
|
|||
constraint c = p->first;
|
||||
unsigned cidx = p->second;
|
||||
if (cidx >= get_group_first_index(cnstr_group::ClassInstance) &&
|
||||
!m_config.m_discard && cnstr_on_demand(c)) {
|
||||
!m_config.m_discard && is_choice_cnstr(c) && cnstr_on_demand(c)) {
|
||||
// we postpone class-instance constraints whose type still contains metavariables
|
||||
m_cnstrs.erase_min();
|
||||
postpone(c);
|
||||
|
|
Loading…
Reference in a new issue