feat(kernel/converter): relax is_def_eq test for local constants and meta-variables
This commit is contained in:
parent
940092a975
commit
de7c850782
1 changed files with 1 additions and 2 deletions
|
@ -548,8 +548,7 @@ struct default_converter : public converter {
|
||||||
is_def_eq(const_levels(t_n), const_levels(s_n), c, jst, cs))
|
is_def_eq(const_levels(t_n), const_levels(s_n), c, jst, cs))
|
||||||
return to_bcs(true, cs);
|
return to_bcs(true, cs);
|
||||||
|
|
||||||
if (is_local(t_n) && is_local(s_n) && mlocal_name(t_n) == mlocal_name(s_n) &&
|
if (is_local(t_n) && is_local(s_n) && mlocal_name(t_n) == mlocal_name(s_n))
|
||||||
is_def_eq(mlocal_type(t_n), mlocal_type(s_n), c, jst, cs))
|
|
||||||
return to_bcs(true, cs);
|
return to_bcs(true, cs);
|
||||||
|
|
||||||
optional<declaration> d_t, d_s;
|
optional<declaration> d_t, d_s;
|
||||||
|
|
Loading…
Add table
Reference in a new issue