-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Nested enumeration of one Container's Elements causes missing elements in outer enumerator #19
Comments
This is caused by
The |
When a visitor enumerates elements while an outside enumeration is still happening, elements are missed because the cache is still being built. Fixes #19.
When a visitor enumerates elements while an outside enumeration is still happening, elements are missed because the cache is still being built. Fixes #19.
When a visitor enumerates elements while an outside enumeration is still happening, elements are missed because the cache is still being built. Fixes #19.
When a visitor enumerates elements while an outside enumeration is still happening, elements are missed because the cache is still being built. Fixes #19.
Consider the following code in a Visitor:
For a
List
containing 4Item
elements, you'd expect to see the following on theConsole
:What you actually get is this:
The text was updated successfully, but these errors were encountered: