You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2017/06/07 16:01:50 UTC

[05/12] jiffy commit: updated refs/heads/master to 99a3d43

Add `use_nil` to `encode_option`

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.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/a2d08593
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/a2d08593
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/a2d08593

Branch: refs/heads/master
Commit: a2d08593aeaf4ecee7db1b3af688a9cc548c32a2
Parents: a7db724
Author: Dan Swain <da...@gmail.com>
Authored: Thu May 19 18:44:53 2016 -0400
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Thu Dec 29 12:11:11 2016 -0600

----------------------------------------------------------------------
 src/jiffy.erl | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/a2d08593/src/jiffy.erl
----------------------------------------------------------------------
diff --git a/src/jiffy.erl b/src/jiffy.erl
index 9871e4f..08fa3c0 100644
--- a/src/jiffy.erl
+++ b/src/jiffy.erl
@@ -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()}.