Closed
Description
# run in a fresh session
@show typeof([1, missing, 2])
prints typeof([1, missing, 2]) = Vector{Union{Missing, Int64}}
as expected.
But add a totally irrelevant line, and eltype changes:
# run in a fresh session
[1, missing, nothing, 2]
@show typeof([1, missing, 2])
prints typeof([1, missing, 2]) = Vector{Any}
.
Only happens on 1.9rc, not 1.8 nor 1.9 betas.