fix(frontends/lean/parser): save identifier info for undef local
This commit is contained in:
parent
8e6de93394
commit
aed9a88b38
1 changed files with 2 additions and 0 deletions
|
@ -1077,6 +1077,8 @@ expr parser::id_to_expr(name const & id, pos_info const & p) {
|
|||
if (is_constant(*r)) {
|
||||
add_ref_index(const_name(*r), p);
|
||||
save_identifier_info(p, const_name(*r));
|
||||
} else if (is_local(*r)) {
|
||||
save_identifier_info(p, local_pp_name(*r));
|
||||
}
|
||||
return *r;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue