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.
2 parents bf5146d + 4595212 commit 71775aaCopy full SHA for 71775aa
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 deprecated 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