diff --git a/src/DataStructures.jl b/src/DataStructures.jl index 9289933a5..327cafea0 100644 --- a/src/DataStructures.jl +++ b/src/DataStructures.jl @@ -59,7 +59,6 @@ module DataStructures export findkey - include("deprecations.jl") include("delegate.jl") include("deque.jl") @@ -107,4 +106,6 @@ module DataStructures include("priorityqueue.jl") include("sparse_int_set.jl") export SparseIntSet + + include("deprecations.jl") end diff --git a/src/deprecations.jl b/src/deprecations.jl index a98630a60..e10bd4f32 100644 --- a/src/deprecations.jl +++ b/src/deprecations.jl @@ -1,4 +1,6 @@ @deprecate front(x) first(x) @deprecate back(x) last(x) @deprecate top(x) first(x) -@deprecate find_root find_root! # 2020-03-31 +#@deprecate find_root find_root! # 2020-03-31 - deprecate in v0.18, or when Julia 1.5 is released. +export find_root +const find_root = find_root!