Skip to content
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

Check if we just wrote a DotLambda before deciding on space before parens, fix 3050 #3051

Merged
merged 7 commits into from
May 30, 2024

Conversation

dawedawe
Copy link
Member

fixes #3050

src/Fantomas.Core/Context.fs Fixed Show fixed Hide fixed
src/Fantomas.Core/Context.fs Fixed Show fixed Hide fixed
src/Fantomas.Core/Context.fs Outdated Show resolved Hide resolved
@dawedawe dawedawe requested a review from nojaf May 25, 2024 10:36
… if the node.Expr is an AppSingleParenArg and just be always atomic in that case when writing the FunctionExpr
Copy link
Contributor

@nojaf nojaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is good enough for now. Will probably cover the most common cases.

CHANGELOG.md Outdated Show resolved Hide resolved
@nojaf nojaf merged commit cb7a8e0 into fsprojects:main May 30, 2024
5 checks passed
@dawedawe dawedawe deleted the fix_3050 branch May 30, 2024 12:15
@dawedawe dawedawe restored the fix_3050 branch June 1, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Idempotency problem when _.Property shorthand
2 participants