-
-
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
Keep copyInfo for record fixed at starting column #2115
Conversation
…rapping genExpr() in atCurrentColumnIndent() inside of genMultilineRecordInstance()
@@ -5,6 +5,9 @@ | |||
### Changed | |||
* Update .NET SDK to 6.0.200. [#2105](https://github.com/fsprojects/fantomas/pull/2105) | |||
|
|||
### Fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really cool to see changelogs entries as part of the PRs :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, well done to have spotted this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @dawedawe!
Really wonderful to see you picking these up!
I have one nitpick about an additional blank line which I'll solve myself as it really really is a nitpick.
Please try to add a more meaningful title though. |
* Fix 2109 (Valid input => Formatted content is not valid F# code) by wrapping genExpr() in atCurrentColumnIndent() inside of genMultilineRecordInstance() * Renamed and moved unit test. Co-authored-by: nojaf <[email protected]>
Fixes #2109
As @nojaf suggested, it's fixed by wrapping genExpr() in atCurrentColumnIndent()