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

Fix bug in AvoidSinglePipeOperator #640

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

webwarrior-ws
Copy link
Contributor

Fix bug in AvoidSinglePipeOperator when it gives false positive on expressions with function application.

E.g.

someOtherFunc1 someParam someParam2 |> someOtherFunc3

Added failing test for this case.

Added failing test for AvoidSinglePipeOperator for case
when function application is used in expression before `|>`.
Fix bug in AvoidSinglePipeOperator when it gives false positive
on expressions with function application.

E.g.
```
someOtherFunc1 someParam someParam2 |> someOtherFunc3
```
@knocte knocte merged commit c797e80 into fsprojects:master Dec 20, 2023
5 checks passed
webwarrior-ws added a commit to webwarrior-ws/FSharpLint that referenced this pull request Dec 20, 2023
We already had a test for this scenario, but with one parameter.
This adds a testcase with two parameters.
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.

2 participants