Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type assert Core.SimpleVector in typejoin_union_tuple #57631

Merged
2 changes: 1 addition & 1 deletion base/promotion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ end

function typejoin_union_tuple(T::DataType)
@_foldable_meta
p = T.parameters
p = T.parameters::Core.SimpleVector
lr = length(p)
if lr == 0
return Tuple{}
Expand Down