-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviortypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch
Description
julia> typeintersect((Tuple{Vararg{Union{},A}} where A), Tuple{Int64, Vararg{Int64, N} where N}) !== Union{}
false
This is bad since the intersection is non-empty when A
is later given:
julia> typeintersect((Tuple{Vararg{Union{},3}} where A), Tuple{Int64, Vararg{Int64, N} where N}) !== Union{}
true
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviortypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch