JuliaLang/julia — pull request #7688 by ivarne (2014-07-21 20:07:27+00:00)
Title: Give suggestions for vector->row vector confusion

Some new users might get confused when they create a vector without
commas, and end up with a matrix that does not match the methods he
tries to use. After this patch the error will contain a suggestion.

```julia
julia> a = [1 2 3]
1x3 Array{Int64,2}:
1 2 3

julia> sort(a)
ERROR: `sort` has no method matching sort(::Array{Int64,2})

You might have used a 2d row vector where a 1d column vector was required.
Note the difference betwen 1d column vector [1,2,3] and 2d row vector [1 2 3]
```

See: https://groups.google.com/forum/#!topic/julia-users/XBjl1sPfTkU and https://github.com/JuliaLang/julia/issues/7512

Suggestions for better wording/formatting is most welcome.