fix #31993, intersection of Type{Vec}
and Type{<:Vec{T}}
#31997
Merged
Type{Vec}
and Type{<:Vec{T}}
#31997