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 StringDictionarySlim enumeration after first item delete #677

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Oct 24, 2019

This was fun to track down. StringDictionarySlim's enumerator was returning deleted items when item that was deleted had first bucket index. This was actually fixed in CoreFX Labs version some time ago, we just didn't have the fix incorporated.

Fixes #670

@sebastienros
Copy link
Owner

I imagine the pain to find the issue

@lahma
Copy link
Collaborator Author

lahma commented Oct 24, 2019

Just some hours of good old head-scratching and trying to find correct debug points to get before and after effects, didn't enjoy this one a bit 😄

@sebastienros sebastienros merged commit 47fff2e into sebastienros:dev Oct 24, 2019
@lahma lahma deleted the bugs/removing-first-item-from-stringdictionaryslim branch October 24, 2019 20:32
ruixiao-yu added a commit to cyclr/jint that referenced this pull request Feb 19, 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.

Error during compilation of CoffeeScript code
2 participants