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
Hello, thank you for reporting this issue.
This feels related to #1898 and #1874.
I should check to be sure though.
I believe the problem is introduced by the ASTContext, the field IsFirstChild is used for the recursive type and has an unexpected impact on the attribute generation later on.
Are you interested in submitting a PR for this?
Issue created from fantomas-online
Code
Result
Problem description
It formats via the web page, but the output isn't valid F#, and it lists parse failures at the bottom. Via the CLI tool, it fails with
If you change
and Y = B
totype Y = B
everything works as expected.Extra information
Options
Fantomas 4.6 branch at 10/15/2021 14:45:28 - d8896cc
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: