Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> * Update test/broadcast.jl Co-authored-by: Matt Bauman <[email protected]> Co-authored-by: Matt Bauman <[email protected]> Co-authored-by: Simeon Schaub <[email protected]>
- Loading branch information