fix(frontends/lean/decl_cmds): remove assertion that does not hold anymore

This commit is contained in:
Leonardo de Moura 2014-10-02 09:19:23 -07:00
parent d42fd657fe
commit db9671d7c3

View file

@ -194,7 +194,6 @@ static void erase_local_binder_info(buffer<expr> & ps) {
environment definition_cmd_core(parser & p, bool is_theorem, bool is_opaque, bool is_private, bool is_protected) { environment definition_cmd_core(parser & p, bool is_theorem, bool is_opaque, bool is_private, bool is_protected) {
lean_assert(!(is_theorem && !is_opaque)); lean_assert(!(is_theorem && !is_opaque));
lean_assert(!(is_private && !is_opaque));
lean_assert(!(is_private && is_protected)); lean_assert(!(is_private && is_protected));
auto n_pos = p.pos(); auto n_pos = p.pos();
unsigned start_line = n_pos.first; unsigned start_line = n_pos.first;