fix(library/match): bug in matcher
This commit is contained in:
parent
10357f3f53
commit
45e62031e2
1 changed files with 0 additions and 2 deletions
|
@ -311,8 +311,6 @@ class match_fn : public match_context {
|
||||||
auto s = _get_subst(p);
|
auto s = _get_subst(p);
|
||||||
if (s) {
|
if (s) {
|
||||||
return match_core(*s, t);
|
return match_core(*s, t);
|
||||||
} else if (has_local(t)) {
|
|
||||||
return false;
|
|
||||||
} else {
|
} else {
|
||||||
_assign(p, t);
|
_assign(p, t);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue