-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
join
calls done()
twice on the iterables
#9178
Comments
That works! (or rather it fails) I'll try to fix the |
Hmm... This will be our first explicit test for |
ivarne
added a commit
to ivarne/julia
that referenced
this issue
Nov 27, 2014
Some iterators might mutate their state in the `done()` method (eg Task) and that will give wrong results when `join` calls `done` twice per iteration. This fixes that, and add a few tests to `join` that were missing. Fixes JuliaLang#9178
Thanks guys. I wrote |
ivarne
added a commit
that referenced
this issue
Dec 6, 2014
Some iterators might mutate their state in the `done()` method (eg Task) and that will give wrong results when `join` calls `done` twice per iteration. This fixes that, and add a few tests to `join` that were missing. Fixes #9178 ref: #9179 (cherry picked from commit 8bd554c) Conflicts: test/strings.jl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As noticed by @ivarne in #9159. Here is a possible unittest for it:
The text was updated successfully, but these errors were encountered: