I suppose that’s by design, because specializing every print call for the types of its arguments seems like a waste. Not sure though.
EDIT: the Vararg
print
method, which println
is based on, does not specialize for the types of its arguments. One related thread: Would it be interesting to optimize print(io, xs...) to be type stable?
For those who aren’t aware: Be aware of when Julia avoids specializing