-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous versiontypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch
Milestone
Description
this is not good:
julia> typeintersect(Vararg{Int}, Int)
julia: /data/vtjnash/julia/src/subtype.c:1261: subtype: Assertion `!jl_is_vararg(x) && !jl_is_vararg(y)' failed.
signal (6): Aborted
and other mild oddities (I think these are correct, since they can appear as type parameters, they should be valid as arguments also)
julia> typeintersect(1, 2)
Union{}
julia> typeintersect(1, 1)
1
julia> typeintersect(1, Any)
1
julia> typeintersect(Any, 1)
1
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous versiontypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch