We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c5a51 commit 856abb5Copy full SHA for 856abb5
src/deprecations.jl
@@ -6,7 +6,11 @@
6
# Deprecations from #700
7
Base.@deprecate_binding DisjointSets DisjointSet
8
Base.@deprecate_binding IntDisjointSets IntDisjointSet
9
-@deprecate DisjointSets(xs...) DisjointSet(xs)
+# We won't want to make this `@deprecate DisjointSets(xs...) DisjointSet(xs)`
10
+# because then loading this package will trigger a deprecation warning when we
11
+# evaluate the deprrecated DisjointSets binding. This breaks any package that
12
+# tries to load DataStructures with --depwarn=error
13
+@deprecate DisjointSet(xs...) DisjointSet(xs)
14
# Enqueue and dequeue deprecations
15
@deprecate enqueue!(q::Queue, x) Base.push!(q, x)
16
@deprecate enqueue!(q::PriorityQueue, x) Base.push!(q, x)
0 commit comments