But when Julia waits for a Vector{Float} (case of a constructor) since there is a natural trans-typing from Int64 to Float64. isn’t it natural to make some small effort to translate a Vector{Int64} given into a Vector{Float64} expected ?
Can you cite cases where this preemptive attitude can lead to confusion ?
Yes, but …
In this case no information about type of x.
x can be anything and the test can success or fail according type and value.
The kind of example i’m waiting for is when the system is expecting a Float and receives an Int instead.
This one doesn’t enter this category.