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 Node.removeAll diffing on List of List #66

Merged
merged 2 commits into from
Nov 23, 2019
Merged

Conversation

mosteli
Copy link
Contributor

@mosteli mosteli commented Nov 22, 2019

It appears that the following removeAll function is incorrectly diffing by wrapping the List[Node] parameter in an additional List. Currently, this variant removeAll does not remove any nodes from the children.
I removed the additional List.

@tindzk
Copy link
Member

tindzk commented Nov 22, 2019

Thanks, @mosteli. Do you mind adding a test case in order to avoid future regressions in this function?

@mosteli
Copy link
Contributor Author

mosteli commented Nov 22, 2019

Sure. I'll have it up shortly.

@mosteli
Copy link
Contributor Author

mosteli commented Nov 23, 2019

@tindzk Added some tests.

@tindzk tindzk merged commit 02b0916 into sparsetech:master Nov 23, 2019
@tindzk
Copy link
Member

tindzk commented Nov 23, 2019

Looks good. Thanks again.

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