fix(frontends/lean/decl_cmds): remove assertion that does not hold anymore
This commit is contained in:
parent
d42fd657fe
commit
db9671d7c3
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue