-
Notifications
You must be signed in to change notification settings - Fork 51
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
Iterator is incorrect after remove on Linear Map #28
Comments
Hi Adam, thanks for surfacing this. It turns out my generative tests for the |
Great stuff, thanks @ztellman :-) |
Thank you very much @ztellman I can confirm that this now works for us in the |
Sorry to report another one... I am not sure if this bug existed before #23 was fixed, or if it is a regression. I suspect it is related though.
Unfortunately after removing from a
LinearMap
the iterator over the keys of that map produces the wrong keys.The test below shows that:
new Map<>().linear()
works as expectednew LinearMap<>()
causes the wrong keys to be returned by iteration after aremove(key)
.The text was updated successfully, but these errors were encountered: