Closed whitequark closed 10 years ago
@alainfrisch Can you please take a look? It breaks all my current work on the latest trunk & I don't really understand what the problem is, to fix it myself.
The problem seems to be introduced by this commit: ocaml/ocaml@9fa17c9; it causes the pretty printer to omit parenthesis when pretty-printing funs. By cloning trunk and removing the changes, ppx_tools compiles fine for me.
@gasche When do you think you could revert https://github.com/ocaml/ocaml/commit/9fa17c9 ?
@whitequark I'm just back from vacations. Thanks for your investigation. I'll let @gasche look at it.
I just looked at it and it's indeed a bug I introduced; fill fix as soon as possible (not during my working hours today).
I've committed a fix to the 4.02 branch (commit 14946) and to OCaml trunk (commit 14947).
Seems to be a bug in Pprintast, but I may be wrong.