ocaml-ppx / ocamlformat

Auto-formatter for OCaml code
MIT License
633 stars 179 forks source link

Fix missing parenthesis after try..with #2537

Closed Julow closed 7 months ago

Julow commented 7 months ago

Fix commit https://github.com/ocaml-ppx/ocamlformat/issues/2536#issuecomment-2045943473

When indicate-multiline-delimiters=closing-on-separate-line, the closing parenthesis at the end of a try..with expression is missing since #2528.

nojb commented 7 months ago

I confirm this fixes https://github.com/ocaml-ppx/ocamlformat/issues/2536#issuecomment-2045943473. Thanks!

Julow commented 7 months ago

Thanks for checking! Let's merge.