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
Describe the bug json:format/3 has spec -spec format(Term :: encode_value(), Encoder::formatter(), Options :: map()) -> iodata().,
but this causes dialyzer errors because first argument Term can be any user specific type supported by Encoder function.
Expected behavior
Spec for json:format/3 to be -spec format(Term :: dynamic(), Encoder::formatter(), Options :: map()) -> iodata()..
Affected versions
27.1.
The text was updated successfully, but these errors were encountered:
Describe the bug
json:format/3
has spec-spec format(Term :: encode_value(), Encoder::formatter(), Options :: map()) -> iodata().
,but this causes dialyzer errors because first argument
Term
can be any user specific type supported byEncoder
function.Expected behavior
Spec for
json:format/3
to be-spec format(Term :: dynamic(), Encoder::formatter(), Options :: map()) -> iodata().
.Affected versions
27.1.
The text was updated successfully, but these errors were encountered: