DeepMerge.deep_merge/3 has invalid spec
thomas9911 opened this issue · 1 comments
thomas9911 commented
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()