fix(library/unifier): make sure we do not miss dependency
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
2fae6ebc3a
commit
2eb84c5f74
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ lbool occurs_context_check(substitution & s, expr const & e, expr const & m, buf
|
|||
if (s.occurs(m, e))
|
||||
r = l_undef;
|
||||
}
|
||||
if (get_app_fn(e) == m)
|
||||
if (mlocal_name(get_app_fn(e)) == mlocal_name(m))
|
||||
r = l_false;
|
||||
return false; // do not visit children
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue