Skip to content

DeepMerge.deep_merge/3 has invalid spec #12

Open
@thomas9911

Description

@thomas9911

The spec says that the third argument should be a function with arity two but the examples and in the code a function with arity 3 is used.

current:

@spec deep_merge(map() | keyword(), map() | keyword(), (any(), any() -> any())) :: map() | keyword()

expected:

@spec deep_merge(map() | keyword(), map() | keyword(), (any(), any(), any() -> any())) :: map() | keyword()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions