fix(library/unifier): bug exposed by recent changes
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
069f217215
commit
bbc4380a52
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ bool context_check(expr const & e, buffer<expr> const & locals) {
|
||||||
failed = true;
|
failed = true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (is_metavar(e))
|
||||||
|
return false; // do not visit type
|
||||||
return has_local(e);
|
return has_local(e);
|
||||||
});
|
});
|
||||||
return !failed;
|
return !failed;
|
||||||
|
|
Loading…
Reference in a new issue