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:
Leonardo de Moura 2014-10-27 10:31:09 -07:00
parent ee5a982c01
commit 2e5ad274a5

View file

@ -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.