ocaml-ppx / ppxlib

Base library and tools for ppx rewriters
MIT License
246 stars 98 forks source link

BUG: generating invalid ocaml syntax. #485

Closed nojb closed 6 months ago

nojb commented 6 months ago

ocamlformat.0.26.1 chokes on:

let _ =
  if x && try () with _ -> () then ()

when .ocamlformat contains

ocp-indent-compat
panglesd commented 6 months ago

Hello!

Maybe you meant to open this issue on https://github.com/ocaml-ppx/ocamlformat ? Otherwise, I'm not sure what you mean!

nojb commented 6 months ago

Oops, you are right. Sorry for the noise!