From 38ed62b863dae429396632f7c1545081c815de50 Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Tue, 1 Aug 2023 10:29:23 -0400 Subject: [PATCH] Remove `sort(AbstractVector)` Co-authored-by: Martin Holters --- src/Compat.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Compat.jl b/src/Compat.jl index 3c0dc5a5a..8bc244917 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -714,7 +714,6 @@ if VERSION < v"1.10.0-DEV.1404" size == IsInfinite() && throw(ArgumentError("infinite iterator $v cannot be sorted")) sort!(copymutable(v); kws...) end - sort(v::AbstractVector; kws...) = sort!(copymutable(v); kws...) # for method disambiguation Base.sort(::AbstractString; kws...) = throw(ArgumentError("sort(::AbstractString) is not supported")) Base.sort(::Tuple; kws...) =