You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With mergewith introduced in Julia 1.5 superseding merge(f::Function, ...) (JuliaLang/julia#34296), the order of OrderedDict is not maintained properly. Note that the result is in plain Dict.
With
mergewith
introduced in Julia 1.5 supersedingmerge(f::Function, ...)
(JuliaLang/julia#34296), the order of OrderedDict is not maintained properly. Note that the result is in plain Dict.Compared to the result from
merge
which maintains type/order correctly as the behavior is explicitly defined for OrderedDict.Defining
mergewith
(and perhapsmergewith!
too) for OrderedDict in the same way as the custommerge
seems to make it working.OrderedCollections.jl/src/ordered_dict.jl
Lines 471 to 474 in 844098f
Tested with OrderedCollections 1.4.0 on Julia 1.6.
The text was updated successfully, but these errors were encountered: