Skip to content

Conversation

@alexmakarevich
Copy link

Prior usage of async.reduce "faked recursion" by mutating the accumulator (referred to as "memo" by async).
Newer versions of async disregard this mutation, breaking the functionality of listSubTreeBFS.

Here the method is rewritten with actual recursion.

Prior usage of async.reduce "faked recursion" by mutating the
accumulator (referred to as "memo" by async). Newer versions of async
disregard this mutation, breaking the functionality of `listSubTreeBFS`.

Here the method is rewritten with actual recursion.
@alexmakarevich
Copy link
Author

Fixes #127

@alexmakarevich
Copy link
Author

Hi @alexguan,
would be very nice of you to take a look at this PR as it fixes a severe bug.

Recursive node removal is broken ATM, something else may be broken too, if it relies on listSubTreeBFS.

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