Skip to content

Commit

Permalink
increase specialization of _totuple (#41515)
Browse files Browse the repository at this point in the history
Helps #41512
  • Loading branch information
JeffBezanson committed Jul 14, 2021
1 parent 23dbf16 commit 468b157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/tuple.jl
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ function _totuple_err(@nospecialize T)
throw(ArgumentError("too few elements for tuple type $T"))
end

function _totuple(T, itr, s...)
function _totuple(::Type{T}, itr, s::Vararg{Any,N}) where {T,N}
@_inline_meta
y = iterate(itr, s...)
y === nothing && _totuple_err(T)
Expand Down

2 comments on commit 468b157

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something went wrong when running your job:

ProcessExitedException(2)

cc @maleadt

Please sign in to comment.