fix(library/local_context): typo
This commit is contained in:
parent
003c11c917
commit
d4f0ce0eab
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue