-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Valid input => Formatted content is not valid F# code #2109
Comments
While binary chopping the file with
|
Hello Steve, thank you for reporting this issue. I think the copyInfo expression should be wrapped with an fantomas/src/Fantomas/CodePrinter.fs Line 2970 in ef132c1
This will ensure that all lines of the expression stay on the correct column. Are you interested in submitting a PR for this? |
Issue created from fantomas-online
Code
Result
Problem description
The above is a minimal part of https://github.com/SteveGilham/Gendarme/blob/f5f2cff920e02da819ded93708156b922f598fef/Build/targets.fsx a working Fake build script previously processed by Fantomas v4.5.9; at v4.6.5 it throws
The online process seems to have lost track of either or both indentation and bracket nesting; the released tool is opaque as to what it choked on.
Extra information
Options
Fantomas master branch at 1/1/1990
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: