fix(library/blast/state): compilation problems in debug mode
This commit is contained in:
parent
7e7919950d
commit
78b1d4279b
1 changed files with 0 additions and 2 deletions
|
@ -322,7 +322,6 @@ expr state::instantiate_urefs_mrefs(expr const & e) {
|
||||||
bool state::check_hypothesis(expr const & e, branch const & b, unsigned hidx, hypothesis const & h) const {
|
bool state::check_hypothesis(expr const & e, branch const & b, unsigned hidx, hypothesis const & h) const {
|
||||||
lean_assert(closed(e));
|
lean_assert(closed(e));
|
||||||
for_each(e, [&](expr const & n, unsigned) {
|
for_each(e, [&](expr const & n, unsigned) {
|
||||||
lean_assert(!blast::is_local(n));
|
|
||||||
if (is_href(n)) {
|
if (is_href(n)) {
|
||||||
lean_assert(h.depends_on(n));
|
lean_assert(h.depends_on(n));
|
||||||
lean_assert(b.hidx_depends_on(hidx, href_index(n)));
|
lean_assert(b.hidx_depends_on(hidx, href_index(n)));
|
||||||
|
@ -344,7 +343,6 @@ bool state::check_hypothesis(branch const & b, unsigned hidx, hypothesis const &
|
||||||
bool state::check_target(branch const & b) const {
|
bool state::check_target(branch const & b) const {
|
||||||
lean_assert(closed(b.get_target()));
|
lean_assert(closed(b.get_target()));
|
||||||
for_each(b.get_target(), [&](expr const & n, unsigned) {
|
for_each(b.get_target(), [&](expr const & n, unsigned) {
|
||||||
lean_assert(!blast::is_local(n));
|
|
||||||
if (is_href(n)) {
|
if (is_href(n)) {
|
||||||
lean_assert(b.target_depends_on(n));
|
lean_assert(b.target_depends_on(n));
|
||||||
} else if (is_mref(n)) {
|
} else if (is_mref(n)) {
|
||||||
|
|
Loading…
Reference in a new issue