Skip to content

Commit

Permalink
fix, maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Mar 24, 2022
1 parent 73a8815 commit 8e61753
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 hasintersect(x, Type)
elseif !isvarargtype(x) && hasintersect(x, Type)
params[i] = Union{x, Type}
else
params[i] = x
Expand Down

0 comments on commit 8e61753

Please sign in to comment.