-
-
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
Comment inside LongIdentWithDots not preserved #2027
Comments
Hello Dag, thank you for reporting this issue. LongIdentWithDots([path; Replace], [tmp.fsx (5,12--5,13)]) Comments between dots are not printed, an easy workaround might be to move the comment above or below it. Are you interested in submitting a PR for this one? |
Hi Florian, thanks for the info. Yes I can try. It would be interesting to learn more about the untyped AST. I'll have a look at it (next weekend) |
Cool to hear! To get started, you can check out our Contribution Guidelines and take a peek at the YouTube channel. |
@nojaf Sorry that I didn't have the bandwidth for looking into this |
No worries, this would have been quite the challenge anyway for someone new to the codebase to pick up. |
Issue created from fantomas-online
Code
Result
Problem description
Fantomas removes comment in method dot chain. It looks tricky since the white-space where the
comment was has been removed. Perhaps the comment should be moved after the
.Replace
instead? Related to fable-compiler/Fable#2738Extra 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: