`eachrow` over Array{Any, 2} does not return rows, why?

Personally, I think it would be great if it returned something like

ERROR: MethodError: no method matching *(::Array{Int64,1}, ::Array{Int64,1}).
Did you mean `LinearAlgebra.dot(a, b)` or `a'*b` (to obtain a scalar), `a.*b` (for elementwise multiplication), or `a*b'` (for an outer product)?
Closest candidates are:
...

For anyone looking to get her/his feet wet with a Julia PR, this would be an excellent first issue! There’s even a recent example you can copy. The initial issue report is

https://github.com/JuliaLang/julia/issues/34636

and the fix was submitted in

https://github.com/JuliaLang/julia/pull/34642

You could mimic that fix very directly.

7 Likes