Skip to content

Commit

Permalink
Add test for #48961 (#49014)
Browse files Browse the repository at this point in the history
  • Loading branch information
N5N3 authored Mar 16, 2023
1 parent b5aa057 commit 5960b52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/subtype.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2458,3 +2458,6 @@ let S = Tuple{Type{S48695{T, 2, T48695{B, 2, C}}} where {T<:(Union{Missing, A} w
@test allunique(vars_in_unionall(V))
@test typeintersect(V, T) != Union{}
end

#issue 48961
@test !<:(Type{Union{Missing, Int}}, Type{Union{Missing, Nothing, Int}})

0 comments on commit 5960b52

Please sign in to comment.