ocaml-ppx / ocamlformat

Auto-formatter for OCaml code
MIT License
622 stars 175 forks source link

Stricter AST checks #2557

Open Julow opened 4 months ago

Julow commented 4 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.