Trying to code the generation of an array as a constructor, for example,

`Vector{Float64}(f::Function, n::Int) = [f(2*pi*(k-1)/n) for k in 1:n]`

gives a `WARNING: static parameter Float64 does not occur ...`

and, of course, for example

`Vector{Float64}(sin, 16)`

doesn’t work.

Yes, there are zillions of other ways to do this in Julia, but I’m just wondering, how comes that `Base.Vector{Float64}(n::Int)`

is working (it is obviously not implemented in pure Julia?)?

BTW, after the first try in my REPL

`Vector{Float64}(3)`

does not work any more. So trying to overload the Array constructor in this (faulty) manner seems to do more serious damage than being just not callable.

(This is Julia 0.62, Fedora 27)