Skip to content

Commit

Permalink
Add use_nil to encode_option
Browse files Browse the repository at this point in the history
A call to `jiffy:encode(Term, [use_nil]).` will currently cause dialyzer
to issue a warning because `use_nil` is not included in `encode_option`.
This appears to just be an omission.
  • Loading branch information
dantswain authored and davisp committed Dec 29, 2016
1 parent a7db724 commit a2d0859
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jiffy.erl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
-type encode_option() :: uescape
| pretty
| force_utf8
| use_nil
| escape_forward_slashes
| {bytes_per_iter, non_neg_integer()}
| {bytes_per_red, non_neg_integer()}.
Expand Down

0 comments on commit a2d0859

Please sign in to comment.