Fix dialyzer with maps_support

This commit is contained in:
Jihyun Yu 2014-06-07 15:05:04 +09:00
parent 8845c9acbe
commit 80d883e1d4

View file

@ -41,11 +41,22 @@
-endif. -endif.
-ifndef(maps_support).
-type json_term() :: [{binary() | atom(), json_term()}] | [{}] -type json_term() :: [{binary() | atom(), json_term()}] | [{}]
| [json_term()] | [] | [json_term()] | []
| true | false | null | true | false | null
| integer() | float() | integer() | float()
| binary() | atom(). | binary() | atom().
-endif.
-ifdef(maps_support).
-type json_term() :: [{binary() | atom(), json_term()}] | [{}]
| [json_term()] | []
| map()
| true | false | null
| integer() | float()
| binary() | atom().
-endif.
-type json_text() :: binary(). -type json_text() :: binary().