fix(frontends/lean/elaborator): remove invalid assertions
These assertions became invalid when we changed the behavior of undef
indentifiers at
8e6de93394
This commit is contained in:
parent
ee5a982c01
commit
2e5ad274a5
1 changed files with 0 additions and 2 deletions
|
@ -1111,8 +1111,6 @@ auto elaborator::operator()(list<expr> const & ctx, expr const & e, bool _ensure
|
|||
|
||||
std::tuple<expr, expr, level_param_names> elaborator::operator()(
|
||||
expr const & t, expr const & v, name const & n, bool is_opaque) {
|
||||
lean_assert(!has_local(t));
|
||||
lean_assert(!has_local(v));
|
||||
constraint_seq t_cs;
|
||||
expr r_t = ensure_type(visit(t, t_cs), t_cs);
|
||||
// Opaque definitions in the main module may treat other opaque definitions (in the main module) as transparent.
|
||||
|
|
Loading…
Reference in a new issue