fix(kernel/expr_eq_fn): take local pp name into account when annotations are considered in the equality test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
405e57eb2d
commit
6af7e7f794
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ bool expr_eq_fn::apply(expr const & a, expr const & b) {
|
||||||
return
|
return
|
||||||
mlocal_name(a) == mlocal_name(b) &&
|
mlocal_name(a) == mlocal_name(b) &&
|
||||||
apply(mlocal_type(a), mlocal_type(b)) &&
|
apply(mlocal_type(a), mlocal_type(b)) &&
|
||||||
|
(!m_compare_binder_info || local_pp_name(a) == local_pp_name(b));
|
||||||
(!m_compare_binder_info || local_info(a) == local_info(b));
|
(!m_compare_binder_info || local_info(a) == local_info(b));
|
||||||
case expr_kind::App:
|
case expr_kind::App:
|
||||||
m_counter++;
|
m_counter++;
|
||||||
|
|
Loading…
Reference in a new issue