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

Bug in AdvancerList in conjunction with reduce operation without Identity #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dpoeira91
Copy link
Contributor

If the reduce operation is called on a Query, where no Identity is passed and the source is an AdvancerList the first element is iterated twice.

Not sure if this solution is the most performant, but it fixes the problem.

Added a test to showcase the issue and to prevent this from happening again.

…ce when the source was a list in conjunction with the reduce operation.
fmcarvalho added a commit that referenced this pull request Oct 30, 2020
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.

1 participant