fix(library/unifier): make sure we do not miss dependency

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-07-24 11:38:43 -07:00
parent 2fae6ebc3a
commit 2eb84c5f74

View file

@ -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 {