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

Move atCurrentColumn calls from multiline application expression to specific locations. #2690

Merged
merged 2 commits into from
Jan 9, 2023

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Jan 6, 2023

Fixes #2682.

The gist of this fix is moving atCurrentColumn calls to the very specific location they are required to ensure valid code.
The usage inExprAppwas too general and I moved it toExpr.JoinInand removed the need for it inExpr.TypeApp`.

atCurrentColumn break the natural indentation flow and we should avoid it as much as possible.

@nojaf nojaf requested a review from dawedawe January 6, 2023 09:29
@nojaf nojaf merged commit 72d30cd into fsprojects:main Jan 9, 2023
@nojaf nojaf deleted the fix-2682 branch January 9, 2023 07:56
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.

Piped multiline application is indented too far
2 participants