julia
750f42aa - Fix broadcast error when eltype is inconsistent with getindex (#39185)

Commit
5 years ago
Fix broadcast error when eltype is inconsistent with getindex (#39185) * Fix broadcast error when eltype is inconsistent with getindex In that case we can infer the return type as `Union{}`, which triggers a type assertion error. This used to work in Julia 1.5. * whitespace Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com> * Update test/broadcast.jl Co-authored-by: Matt Bauman <mbauman@juliacomputing.com> Co-authored-by: Matt Bauman <mbauman@juliacomputing.com> Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com>
Author
Parents
Loading