-
Notifications
You must be signed in to change notification settings - Fork 217
Bug: Failure to format a file #1028
Copy link
Copy link
Closed
Labels
Description
Describe the bug
I accidentally stumbled upon this failure to format a file.
How to Reproduce
Steps to reproduce the behavior:
- What is the formatted file? Please try to minimize the code snippet.
let (>>=) = Caml.Result.bind
let f = (Ok ()) >>= (* *)
(fun _ -> Ok ())
The problem seems to be that the comment gets dropped.
- What are the selected options?
(...)
break-infix-before-func=false (file .ocamlformat:21)
(...)
The option --print-config prints the configuration on the standard output, please put the result of this command in the report if you are not sure which option causes the issue.
Reactions are currently unavailable