Skip to content

Commit d0a20a8

Browse files
authored
Merge pull request #33565 from JuliaLang/kc/vcat_ambig
add a test for vcat that used to call an ambig convert method
2 parents 79b911d + 30fc55f commit d0a20a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/abstractarray.jl

+4
Original file line numberDiff line numberDiff line change
@@ -995,3 +995,7 @@ end
995995
@test getindex(x) == getindex(x, CartesianIndex()) == 10
996996
end
997997
end
998+
999+
@testset "vcat with mixed elements" begin
1000+
@test vcat(Nothing[], [missing], [1.0], [Int8(1)]) isa Vector{Union{Missing, Nothing, Float64}}
1001+
end

0 commit comments

Comments
 (0)