Skip to content

Commit

Permalink
Merge pull request JuliaLang#33565 from JuliaLang/kc/vcat_ambig
Browse files Browse the repository at this point in the history
add a test for vcat that used to call an ambig convert method
  • Loading branch information
mbauman authored Oct 15, 2019
2 parents 79b911d + 30fc55f commit d0a20a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -995,3 +995,7 @@ end
@test getindex(x) == getindex(x, CartesianIndex()) == 10
end
end

@testset "vcat with mixed elements" begin
@test vcat(Nothing[], [missing], [1.0], [Int8(1)]) isa Vector{Union{Missing, Nothing, Float64}}
end

0 comments on commit d0a20a8

Please sign in to comment.