소스 검색

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.
preencode-sketch 0.14.9
Dan Swain 9 년 전
committed by Paul J. Davis
부모
커밋
a2d08593ae
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      src/jiffy.erl

+ 1
- 0
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()}.

불러오는 중...
취소
저장