-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Wrong IteratorSize
for pairs(::IndexCartesian, ...)
#540
Comments
I'm afraid we cannot change the existing implementation on 0.6 or it could break packages that rely on it. So maybe just make the test conditional on the Julia version? Anyway it's a relatively obscure method. BTW, JuliaLang/julia#27038 will change this test again. |
I really don't know enough about the details to make a call on how to proceed here, but...
That sounds like the opposite of what Compat should do. If the best we can do is that |
In practice it would be equivalent whether we test specific behaviors on each version, or whether we call |
So just add |
Closing as outdated since we've dropped support for Julia prior to 1.0 and removed the code in question. |
On Julia master:
On Julia 0.6 with Compat:
We implicitly test for the latter behavior, making our tests fail on 0.7. We probably want to do
But that requires fixing the result of
pairs
, which currently relies onIndexValue
on 0.6. Should we replace the whole implementationCompat.jl/src/Compat.jl
Lines 574 to 614 in 9ae1261
The text was updated successfully, but these errors were encountered: