Skip to content

Commit

Permalink
restrict dispatch from ::Tuple to ::NTuple
Browse files Browse the repository at this point in the history
There's some disagreement as to whether heterogeneous tuples should be
supported, so leaving them for a later PR to get this one merged more
easily.
  • Loading branch information
nsajko committed Nov 3, 2024
1 parent d573756 commit 8981746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sort.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ module _SortTupleStable
end

function sort(
tup::Tuple;
tup::NTuple;
lt = isless,
by = identity,
rev::Union{Nothing, Bool} = nothing,
Expand Down

0 comments on commit 8981746

Please sign in to comment.