chore(library/compiler): fix debug build
This commit is contained in:
parent
7365b9ed30
commit
2271d4bccc
2 changed files with 1 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ struct ct_cache_modification : public modification {
|
|||
};
|
||||
|
||||
optional<name> get_closed_term_name(environment const & env, expr const & e) {
|
||||
lean_assert(!has_fvars(e));
|
||||
lean_assert(!has_fvar(e));
|
||||
lean_assert(!has_loose_bvars(e));
|
||||
closed_term_ext const & ext = get_extension(env);
|
||||
if (name const * c = ext.m_cache.find(e)) {
|
||||
|
|
|
|||
|
|
@ -1238,7 +1238,6 @@ class explicit_boxing_fn {
|
|||
lean_assert(is_constant(f));
|
||||
name const & fn = const_name(f);
|
||||
if (is_cases_on_recursor(env(), fn)) {
|
||||
lean_assert(!is_let_val);
|
||||
return visit_cases(f, args);
|
||||
} else if (is_llnf_closure(f)) {
|
||||
return visit_closure(f, args);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue