fix(frontends/lean/parser): copy environment from snapshot
This commit is contained in:
parent
5c76489921
commit
73b685db2e
1 changed files with 1 additions and 0 deletions
|
|
@ -197,6 +197,7 @@ parser::parser(environment const & env, io_state const & ios,
|
|||
m_in_pattern = false;
|
||||
m_has_params = false;
|
||||
if (s) {
|
||||
m_env = s->m_env;
|
||||
m_messages = s->m_messages;
|
||||
m_local_level_decls = s->m_lds;
|
||||
m_local_decls = s->m_eds;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue