fix(library/local_context): typo

This commit is contained in:
Leonardo de Moura 2016-03-09 13:59:21 -08:00
parent 003c11c917
commit d4f0ce0eab

View file

@ -40,7 +40,7 @@ bool is_local_decl_ref(expr const & e) {
} }
expr local_context::mk_local_decl(name const & n, name const & ppn, expr const & type, optional<expr> const & value, binder_info const & bi) { expr local_context::mk_local_decl(name const & n, name const & ppn, expr const & type, optional<expr> const & value, binder_info const & bi) {
lean_assert(!m_local_decl_map.contains(n)); lean_assert(!m_name2local_decl.contains(n));
unsigned idx = m_next_idx; unsigned idx = m_next_idx;
m_next_idx++; m_next_idx++;
local_decl l(idx, n, ppn, type, value, bi); local_decl l(idx, n, ppn, type, value, bi);