You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I encountered this issue while formatting a file in one of my projects. It's length dependent and really subtle - adding or removing a character from the comment will cause ocamlformat to format it successfully.
How to Reproduce
Steps to reproduce the behavior:
Save the snippet in step 2 to a file, e.g. testcase.ml
Invoke ocamlformat on it ocamlformat testcase.ml using janestreet formatting. let[@warning "-27"] (* Lorem ipsum dolor sit amet, consectetur adipiscing elit, eius *) run root = root
What are the selected options?
profile = janestreet
version = 0.26.2
Thanks for considering this bug report. Please let me know if there's anything else I can provide.
The text was updated successfully, but these errors were encountered:
dbremner
changed the title
Bug: crash with function attribute, a long comment, and janestreet formatting
Bug: formatting did not stabilize after 10 iterations with function attribute, a long comment, and janestreet formatting
Oct 11, 2024
Describe the bug
I encountered this issue while formatting a file in one of my projects. It's length dependent and really subtle - adding or removing a character from the comment will cause ocamlformat to format it successfully.
How to Reproduce
Steps to reproduce the behavior:
ocamlformat testcase.ml
using janestreet formatting.let[@warning "-27"] (* Lorem ipsum dolor sit amet, consectetur adipiscing elit, eius *) run root = root
Thanks for considering this bug report. Please let me know if there's anything else I can provide.
The text was updated successfully, but these errors were encountered: