Skip to content

Commit 946de33

Browse files
authored
finish deprecation of merge(::Callable ..) (#60027)
fixup to #59775 closes #59990
1 parent bfa0e4d commit 946de33

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

base/abstractdict.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -362,17 +362,13 @@ merge(d::AbstractDict, others::AbstractDict...) =
362362
"""
363363
mergewith(combine, d::AbstractDict, others::AbstractDict...)
364364
mergewith(combine)
365-
merge(combine, d::AbstractDict, others::AbstractDict...)
366365
367366
Construct a merged collection from the given collections. If necessary, the
368367
types of the resulting collection will be promoted to accommodate the types of
369368
the merged collections. Values with the same key will be combined using the
370369
combiner function. The curried form `mergewith(combine)` returns the function
371370
`(args...) -> mergewith(combine, args...)`.
372371
373-
Method `merge(combine::Union{Function,Type}, args...)` as an alias of
374-
`mergewith(combine, args...)` is still available for backward compatibility.
375-
376372
!!! compat "Julia 1.5"
377373
`mergewith` requires Julia 1.5 or later.
378374
@@ -405,8 +401,6 @@ Dict{Any, Any} with 1 entry:
405401
mergewith(combine, d::AbstractDict, others::AbstractDict...) =
406402
mergewith!(combine, _typeddict(d, others...), others...)
407403
mergewith(combine) = (args...) -> mergewith(combine, args...)
408-
merge(combine::Callable, d::AbstractDict, others::AbstractDict...) =
409-
merge!(combine, _typeddict(d, others...), others...)
410404

411405
promoteK(K) = K
412406
promoteV(V) = V

0 commit comments

Comments
 (0)