In 7d2e3c6 (release in 0.19.0) the definition of merge for SortedMultiDict was generalized to merge(::SortedMultiDict, args...) with arbitrary argument types. This causes JET test failures in AdvancedHMC as the return type of merge cannot be inferred as NamedTuple anymore: 7d2e3c6
I'm not completely sure but I tend to think that this is a bug in DataStructures. Maybe similar to other existing methods for AbstractDict in Base it should be restricted to merge(::SortedMultiDict, ::AbstractDict...)?