We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue created from fantomas-online
type V = // comment { X: SomeFieldType Y: OhSomethingElse Z: ALongTypeName }
type V = { X: SomeFieldType Y: OhSomethingElse Z: ALongTypeName }
Comment should still be there.
Fantomas 4.6 branch at 1/1/1990
default config
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:
Most likely happens as well with signature files.
Sorry, something went wrong.
Looks like this generally happens with comments on the first line of multiline type declarations:
type Type = // COMMENT Type
↓
type Type = Type
I'm actually trying to address this in the F# Compiler, by having a notion of the range of the equals token. See nojaf@d21ec81
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Code
Result
Problem description
Comment should still be there.
Extra information
Options
Fantomas 4.6 branch at 1/1/1990
default config
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: