AFAIK whitespace is supposed to be insignificant in non-macro Julia.

Yet,

function bounds(p::Vector) [min(p), max(p)] end




fails with

ERROR: syntax: expected "(" in "function" definition

whereas

function bounds(p::Vector)
  [min(p), max(p)]
end



does not.

Is this a bug?

Reply via email to