fix(frontends/lean/elaborator): visit_app partial
This commit is contained in:
parent
ab940a2001
commit
ffc168d63a
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ expr elaborator::visit_app(expr const & e, constraint_seq & cs) {
|
||||||
binding_info(f_type).is_inst_implicit()) {
|
binding_info(f_type).is_inst_implicit()) {
|
||||||
lean_assert(binding_info(f_type).is_strict_implicit() || !first);
|
lean_assert(binding_info(f_type).is_strict_implicit() || !first);
|
||||||
expr const & d_type = binding_domain(f_type);
|
expr const & d_type = binding_domain(f_type);
|
||||||
if (partial_expl || is_pi(whnf(d_type).first))
|
if (partial_expl && is_pi(whnf(d_type).first))
|
||||||
break;
|
break;
|
||||||
tag g = f.get_tag();
|
tag g = f.get_tag();
|
||||||
bool is_strict = true;
|
bool is_strict = true;
|
||||||
|
|
Loading…
Reference in a new issue