Skip to content

Commit 468b157

Browse files
authored
increase specialization of _totuple (#41515)
Helps #41512
1 parent 23dbf16 commit 468b157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/tuple.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ function _totuple_err(@nospecialize T)
322322
throw(ArgumentError("too few elements for tuple type $T"))
323323
end
324324

325-
function _totuple(T, itr, s...)
325+
function _totuple(::Type{T}, itr, s::Vararg{Any,N}) where {T,N}
326326
@_inline_meta
327327
y = iterate(itr, s...)
328328
y === nothing && _totuple_err(T)

0 commit comments

Comments
 (0)