fix(frontends/lean/pp): missing parenthesis around nested forall/exists
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
f18360a294
commit
a02c6e70fa
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ class pp_fn {
|
|||
return g_eq_precedence;
|
||||
} else if (is_arrow(e)) {
|
||||
return g_arrow_precedence;
|
||||
} else if (is_lambda(e) || is_pi(e) || is_let(e)) {
|
||||
} else if (is_lambda(e) || is_pi(e) || is_let(e) || is_forall(e) || is_exists(e)) {
|
||||
return 0;
|
||||
} else {
|
||||
return g_app_precedence;
|
||||
|
|
Loading…
Reference in a new issue