Skip to content

Commit

Permalink
Update base/compiler/tfuncs.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
  • Loading branch information
aviatesk and vtjnash committed Apr 9, 2022
1 parent 10eedf5 commit 6dd7361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/tfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ function tuple_tfunc(argtypes::Vector{Any})
else
params[i] = Type
end
elseif x === DataType || x === UnionAll
elseif iskindtype(x)
params[i] = x
elseif !isvarargtype(x) && hasintersect(x, Type)
params[i] = Union{x, Type}
Expand Down

0 comments on commit 6dd7361

Please sign in to comment.