-
-
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
cannot flatten empty arrays #18852
Labels
bug
Indicates an unexpected problem or unintended behavior
Comments
StefanKarpinski
added
the
bug
Indicates an unexpected problem or unintended behavior
label
Oct 11, 2016
This is intentional, and would require something like #18823. In the meantime I can try some |
StefanKarpinski
added
help wanted
Indicates that a maintainer wants help on an issue or pull request
and removed
help wanted
Indicates that a maintainer wants help on an issue or pull request
labels
Oct 27, 2016
Hi, can I work on this issue if it is doable by a beginner? |
yuyichao
removed
the
help wanted
Indicates that a maintainer wants help on an issue or pull request
label
Dec 1, 2016
Hopefully will be fixed by #25261. |
this is fixed on master julia> n=0;
julia> [(u,v) for u=1:n for v=1:10]
0-element Array{Tuple{Int64,Int64},1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While empty array construction works well
and also the type is correctly inferred, I encountered this surprising error in a slightly more complex situation
Here is the culprit line
julia/base/iterator.jl
Line 660 in e94007e
This one works well instead
Bye,
Carlo
The text was updated successfully, but these errors were encountered: