fix(frontends/lean/pp): bug when pretty printing kernel projections
This commit is contained in:
parent
bd97f67f28
commit
c746783c0d
1 changed files with 1 additions and 1 deletions
|
|
@ -1140,7 +1140,7 @@ auto pretty_fn::pp_mdata(expr const & e) -> result {
|
|||
|
||||
auto pretty_fn::pp_proj(expr const & e) -> result {
|
||||
format arg_fmt = pp_child(proj_expr(e), max_bp()).fmt();
|
||||
format idx_fmt(proj_idx(e).get_small_value());
|
||||
format idx_fmt(proj_idx(e).get_small_value() + 1);
|
||||
return result(arg_fmt + format(".") + idx_fmt);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue