Skip to content

Definition of merge(::SortedMultiDict, args...) causes downstream JET errors #955

@devmotion

Description

@devmotion

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...)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions