fix(library/unifier): bug in lambda_abstract_locals auxiliary function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
6db6048bf8
commit
f981a4c1fe
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ expr lambda_abstract_locals(expr const & e, buffer<expr> const & locals) {
|
||||||
unsigned i = locals.size();
|
unsigned i = locals.size();
|
||||||
while (i > 0) {
|
while (i > 0) {
|
||||||
--i;
|
--i;
|
||||||
v = mk_lambda(local_pp_name(locals[i]), mlocal_type(locals[i]), v);
|
expr t = abstract_locals(mlocal_type(locals[i]), i, locals.data());
|
||||||
|
v = mk_lambda(local_pp_name(locals[i]), t, v);
|
||||||
}
|
}
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue