fix(library/type_inference): bug when using apply_beta
This commit is contained in:
parent
a10aef0792
commit
6acf7afa16
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ bool type_inference::is_def_eq(levels const & ls1, levels const & ls2) {
|
||||||
?m is an assigned mvar, substitute \c ?m with its assignment. */
|
?m is an assigned mvar, substitute \c ?m with its assignment. */
|
||||||
expr type_inference::subst_mvar(expr const & e) {
|
expr type_inference::subst_mvar(expr const & e) {
|
||||||
buffer<expr> args;
|
buffer<expr> args;
|
||||||
expr const & m = get_app_args(e, args);
|
expr const & m = get_app_rev_args(e, args);
|
||||||
lean_assert(is_mvar(m));
|
lean_assert(is_mvar(m));
|
||||||
expr const * v = get_assignment(m);
|
expr const * v = get_assignment(m);
|
||||||
lean_assert(v);
|
lean_assert(v);
|
||||||
|
|
Loading…
Reference in a new issue