ocaml-ppx / ocamlformat

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

Stricter AST checks #2557

Closed Julow closed 1 month ago

Julow commented 5 months ago

The AST check was previously trigerring if both the std AST and the extended AST were different. This is not the intended behavior.

The first commit changes the normalization of code blocks in docstrings to correctly handle repl phrases. This fixes an AST error that was hidden by the previous check.