Closed typetetris closed 3 years ago
What does ormolu --version
say?
ormolu 0.1.4.1 UNKNOWN UNKNOWN
using ghc-lib-parser 8.10.4.20210206
Normally, the positions in the original input (line/column number) are output as well. Apparently, in your case no such information is available. I can't help without a way to reproduce the issue.
Is there no way to get a representation of the new AST? We really don't want to disclose our source code.
Try to do binary search on the source code to figure out what triggers the error.
Closing due to lack of a reproducing example. If you manage to create one please re-open.
We have a file, which results in the output
So we have sadly no way to reduce it to a minimal example.
It would be very convenient if ormolu would just output the file created from the new ast, so we could have a look at it and identify, where the mismatch was.